提交 382e683b authored 作者: matteo brancaleoni's avatar matteo brancaleoni

Use FTDM_UINT64_FMT macro to log uint64_t values, in order to not break x86 builds.

上级 061f3cb9
......@@ -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;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论