trawick 01/01/15 11:19:26
Modified: test testfile.c
Log:
Use APR_SIZE_T_FMT instead of %d when formatting an apr_size_t. This avoids
a warning on AIX and other platforms where apr_size_t is long int.
Revision Changes Path
1.24 +1 -1 apr/test/testfile.c
Index: testfile.c
===================================================================
RCS file: /home/cvs/apr/test/testfile.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- testfile.c 2001/01/08 23:48:45 1.23
+++ testfile.c 2001/01/15 19:19:24 1.24
@@ -359,7 +359,7 @@
fprintf(stdout, "\t\tFile size.......");
apr_dir_entry_size(&bytes, temp);
if (bytes != strlen("Another test!!!")) {
- fprintf(stderr, "Got wrong file size %d\n", bytes);
+ fprintf(stderr, "Got wrong file size %" APR_SIZE_T_FMT "\n", bytes);
return -1;
}
fprintf(stdout, "OK\n");