trawick 01/07/30 10:25:54
Modified: test aprtest.h
Log:
printf() * variable (as in "%.*s") must be int
Revision Changes Path
1.5 +1 -1 apr/test/aprtest.h
Index: aprtest.h
===================================================================
RCS file: /home/cvs/apr/test/aprtest.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- aprtest.h 2001/07/27 19:19:56 1.4
+++ aprtest.h 2001/07/30 17:25:54 1.5
@@ -62,7 +62,7 @@
#define APR_TEST_BEGIN(rv, desc, op) \
fprintf(stdout, "%s%.*s ", APR_TEST_PREFIX desc, \
- strlen(desc) < 37 ? 40 - strlen(desc) : 3, \
+ strlen(desc) < 37 ? (int)(40 - strlen(desc)) : 3, \
"........................................"); \
APR_TEST_MORE(rv, op)