summaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2012-10-08 19:48:06 -0700
committerAndrea Shepard <andrea@torproject.org>2012-10-08 19:48:06 -0700
commite709fe320a872d8ddbeb62c029cec0246eeabc39 (patch)
treef198d8f86ec56abc43c7e46587031828ae1f5680 /src/or/circuitlist.c
parent71ba517e0c557d0ae35af7a5f99c8756f336a416 (diff)
downloadtor-e709fe320a872d8ddbeb62c029cec0246eeabc39.tar.gz
tor-e709fe320a872d8ddbeb62c029cec0246eeabc39.zip
Use U64_FORMAT/U64_PRINTF_ARG rather than %lu for channel_t
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 4746f912de..68cd19e152 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -918,15 +918,17 @@ circuit_get_by_circid_channel_impl(circid_t circ_id, channel_t *chan)
if (found && found->circuit) {
log_debug(LD_CIRC,
"circuit_get_by_circid_channel_impl() returning circuit %p for"
- " circ_id %d, channel ID %lu (%p)",
- found->circuit, circ_id, chan->global_identifier, chan);
+ " circ_id %d, channel ID " U64_FORMAT " (%p)",
+ found->circuit, circ_id,
+ U64_PRINTF_ARG(chan->global_identifier), chan);
return found->circuit;
}
log_debug(LD_CIRC,
"circuit_get_by_circid_channel_impl() found nothing for"
- " circ_id %d, channel ID %lu (%p)",
- circ_id, chan->global_identifier, chan);
+ " circ_id %d, channel ID " U64_FORMAT " (%p)",
+ circ_id,
+ U64_PRINTF_ARG(chan->global_identifier), chan);
return NULL;
/* The rest of this checks for bugs. Disabled by default. */