From 9568c0ce3d3885a41ca44ac030b04d089ac56a40 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 3 Jul 2018 10:40:59 -0400 Subject: Return U64_PRINTF_ARG and U64_FORMAT The standard is printf("%"PRIu64, x); --- src/or/connection_or.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/connection_or.c') diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 9692e5d676..5217ba166b 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -851,9 +851,9 @@ connection_or_set_canonical(or_connection_t *or_conn, TLS_CHAN_TO_BASE(or_conn->chan), is_canonical); log_info(LD_CIRC, - "Channel " U64_FORMAT " chose an idle timeout of %d.", + "Channel %"PRIu64 " chose an idle timeout of %d.", or_conn->chan ? - U64_PRINTF_ARG(TLS_CHAN_TO_BASE(or_conn->chan)->global_identifier):0, + (TLS_CHAN_TO_BASE(or_conn->chan)->global_identifier):0, or_conn->idle_timeout); } -- cgit v1.2.3-54-g00ecf