[Freeassociation-devel] [patch] trivial warning fix

Brad Hards bradh at frogmouth.net
Thu Aug 18 03:30:33 PDT 2011


There are quite a lot of warnings in a (cmake) build of libical from trunk.

This fixes just one.
Index: src/test/regression.c
===================================================================
--- src/test/regression.c       (revision 1088)
+++ src/test/regression.c       (working copy)
@@ -567,7 +567,7 @@
 
       printf("Final: %s\n", f);
 
-      printf("Final buffer size: %d\n",bufsize);
+      printf("Final buffer size: %zd\n", bufsize);
     }
 
     ok("final buffer size == 806", (bufsize == 806));




More information about the libical-devel mailing list