[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r12315: make r12272 compile on 64-bit (tor/trunk/src/or)



Author: arma
Date: 2007-11-01 09:48:12 -0400 (Thu, 01 Nov 2007)
New Revision: 12315

Modified:
   tor/trunk/src/or/rendcommon.c
Log:
make r12272 compile on 64-bit


Modified: tor/trunk/src/or/rendcommon.c
===================================================================
--- tor/trunk/src/or/rendcommon.c	2007-11-01 13:40:29 UTC (rev 12314)
+++ tor/trunk/src/or/rendcommon.c	2007-11-01 13:48:12 UTC (rev 12315)
@@ -1032,7 +1032,7 @@
     e->desc = tor_strndup(current_desc, encoded_size);
     e->len = encoded_size;
     log_info(LD_REND, "Successfully stored service descriptor with desc ID "
-                      "'%s' and len %d.", desc_id_base32, encoded_size);
+                      "'%s' and len %d.", desc_id_base32, (int)encoded_size);
     number_stored++;
     goto advance;
   skip:
@@ -1150,7 +1150,7 @@
   strlcpy(e->desc, desc, encoded_size + 1);
   e->len = encoded_size;
   log_debug(LD_REND,"Successfully stored rend desc '%s', len %d.",
-            service_id, encoded_size);
+            service_id, (int)encoded_size);
   return 1;
 }