libtests/tar01/init.c: Correct comparisons of different signedness

The GCC warning -Wsign-compare flagged these instances of comparing
signed and unsigned types. A common pair was size_t and int.
This commit is contained in:
Joel Sherrill
2025-11-06 10:27:40 -06:00
committed by Kinsey Moore
parent fa2e0e7e58
commit 16234ea47b

View File

@@ -233,7 +233,7 @@ void test_untar_from_file(void)
rtems_test_assert( fd != -1 );
n = write( fd, TARFILE_START, TARFILE_SIZE );
rtems_test_assert( n == TARFILE_SIZE );
rtems_test_assert( n == (ssize_t) TARFILE_SIZE );
close( fd );
/* make a directory to untar it into */