From 43f15cd8e357a3b56bcb6acf616d06c3345a2dfb Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 17 Sep 2024 10:49:07 -0400 Subject: [PATCH] MT#55283 fix compile warning Use appropriate print format Change-Id: I6fca4ca7346ee9de3b5ce8a9618bde327e0ed979 (cherry picked from commit bf7039a39f0b16a3a867fd6bc340694e9d126295) (cherry picked from commit 77782d6ae0478bd93abde9b51404c60a05c01cae) --- daemon/dtmf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daemon/dtmf.c b/daemon/dtmf.c index a01b84146..1aea17922 100644 --- a/daemon/dtmf.c +++ b/daemon/dtmf.c @@ -657,7 +657,9 @@ int dtmf_event_payload(str *buf, uint64_t *pts, uint64_t duration, struct dtmf_e // if the start event ts was before *pts we need // to adjust the end event_ts to ensure we're not shortening // the event - ilog(LOG_DEBUG, "Delayed send of DTMF, adjusting end event_ts by %lu - %lu = %lu", *pts, cur_event->ts, *pts - cur_event->ts); + ilog(LOG_DEBUG, "Delayed send of DTMF, adjusting end event_ts by " + "%" PRIu64 " - %" PRIu64 " = %" PRIu64, + *pts, cur_event->ts, *pts - cur_event->ts); ev->ts += *pts - cur_event->ts; } cur_event->ts = *pts; // canonicalise start TS