From: Nick Mathewson Date: Wed, 26 Dec 2012 04:34:38 +0000 (-0500) Subject: Fix compilation warning: must not format u64 as long. X-Git-Tag: tor-0.2.4.8-alpha~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01a09e8f8601ce61be500c92ea200c29e4389c7a;p=thirdparty%2Ftor.git Fix compilation warning: must not format u64 as long. --- diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index a7c201fcf1..defe94408b 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -2199,8 +2199,10 @@ connection_ap_handshake_socks_reply(entry_connection_t *conn, char *reply, // DNS remaps can trigger this. So can failed hidden service // lookups. log_info(LD_BUG, - "No origin circuit for successful SOCKS stream %lu. Reason: " - "%d", ENTRY_TO_CONN(conn)->global_identifier, endreason); + "No origin circuit for successful SOCKS stream "U64_FORMAT + ". Reason: %d", + U64_PRINTF_ARG(ENTRY_TO_CONN(conn)->global_identifier), + endreason); } else { TO_ORIGIN_CIRCUIT(conn->edge_.on_circuit)->path_state = PATH_STATE_USE_SUCCEEDED;