[tor-commits] [stegotorus/master] fixed another error on 32-bit by casting types

zwol at torproject.org zwol at torproject.org
Fri Jul 20 23:17:08 UTC 2012


commit e651f0b72d987d6d15ebef6b6b504b6dc2fa85c3
Author: Linda Briesemeister <linda.briesemeister at sri.com>
Date:   Mon Jun 25 13:24:41 2012 -0500

    fixed another error on 32-bit by casting types
---
 src/steg/http.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/steg/http.cc b/src/steg/http.cc
index fef3724..7caf2e7 100644
--- a/src/steg/http.cc
+++ b/src/steg/http.cc
@@ -310,7 +310,7 @@ http_client_cookie_transmit (http_steg_t *s, struct evbuffer *source,
 
   log_debug(conn, "cookie input %lu encoded %lu final %lu/%lu",
             (unsigned long)sbuflen, (unsigned long)len,
-            (unsigned long)cookie_len, strlen(cookiebuf));
+            (unsigned long)cookie_len, (unsigned long)strlen(cookiebuf));
   log_debug(conn, "cookie encoded: %s", data2);
   log_debug(conn, "cookie final: %s", cookiebuf);
 





More information about the tor-commits mailing list