From 382e683b15748473e1c06774f0b8bc56cc7210f2 Mon Sep 17 00:00:00 2001 From: matteo brancaleoni Date: Tue, 25 Nov 2014 15:38:45 +0100 Subject: [PATCH] Use FTDM_UINT64_FMT macro to log uint64_t values, in order to not break x86 builds. --- libs/freetdm/src/ftdm_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/freetdm/src/ftdm_io.c b/libs/freetdm/src/ftdm_io.c index 0b0673ba84..9e43c526dc 100644 --- a/libs/freetdm/src/ftdm_io.c +++ b/libs/freetdm/src/ftdm_io.c @@ -1497,7 +1497,7 @@ static __inline__ int chan_is_avail(ftdm_channel_t *check) } /* circuit now available for outbound dialing */ check->last_release_time = 0; - ftdm_log_chan(check, FTDM_LOG_DEBUG, "Channel is now available, release guard timer expired %zdms ago\n", (time_diff - check->span->sig_release_guard_time_ms)); + ftdm_log_chan(check, FTDM_LOG_DEBUG, "Channel is now available, release guard timer expired %" FTDM_UINT64_FMT "ms ago\n", (time_diff - check->span->sig_release_guard_time_ms)); } return 1; }