diff options
author | Andrea Shepard <andrea@torproject.org> | 2012-10-08 19:48:06 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2012-10-08 19:48:06 -0700 |
commit | e709fe320a872d8ddbeb62c029cec0246eeabc39 (patch) | |
tree | f198d8f86ec56abc43c7e46587031828ae1f5680 /src/or/circuitlist.c | |
parent | 71ba517e0c557d0ae35af7a5f99c8756f336a416 (diff) | |
download | tor-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.c | 10 |
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. */ |