[or-cvs] r10152: fix a printf size_t/int mismatch from r10150 (tor/trunk/src/or)

arma at seul.org arma at seul.org
Thu May 10 04:04:45 UTC 2007


Author: arma
Date: 2007-05-10 00:04:44 -0400 (Thu, 10 May 2007)
New Revision: 10152

Modified:
   tor/trunk/src/or/buffers.c
Log:
fix a printf size_t/int mismatch from r10150


Modified: tor/trunk/src/or/buffers.c
===================================================================
--- tor/trunk/src/or/buffers.c	2007-05-10 04:01:28 UTC (rev 10151)
+++ tor/trunk/src/or/buffers.c	2007-05-10 04:04:44 UTC (rev 10152)
@@ -262,7 +262,7 @@
       int i;
       log_info(LD_GENERAL, "We haven't used %d/%d allocated %d-byte buffer "
                "memory chunks since the last call; freeing all but %d of them",
-               list->lowwater, list->len, list->chunksize, list->slack);
+               list->lowwater, list->len, (int)list->chunksize, list->slack);
       for (i = list->slack; i < list->lowwater; ++i) {
         /* XXXX we should really free the last few entries, not the first. */
         char *mem = list->list;



More information about the tor-commits mailing list