diff --git a/testsuites/libtests/tar01/init.c b/testsuites/libtests/tar01/init.c index 4c1a40b388..e012ca6df2 100644 --- a/testsuites/libtests/tar01/init.c +++ b/testsuites/libtests/tar01/init.c @@ -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 */