Use %zd instead of %d to print size_t's

This commit is contained in:
Ralf Corsépius
2012-10-15 17:55:49 +02:00
parent 8d4faf90e8
commit 3532072934
+1 -1
View File
@@ -334,7 +334,7 @@ lseek_test (void)
rtems_test_assert (n == (ssize_t) len);
total_written += n;
}
printf ("Successfully wrote %d\n", total_written);
printf ("Successfully wrote %zd\n", total_written);
/*
* Check the current position