From f5620802c960c66a63087c32b427678a05b8839d Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 6 Aug 2025 10:10:23 -0400 Subject: [PATCH] MT#55283 fix int size issues Change-Id: Ibd7bdea16ae57a4a86076a05b22bb3ca64be8ce1 (cherry picked from commit 675eb7bea6f37d72cadb6d57f5e3011485e3af7a) --- daemon/codec.c | 2 +- recording-daemon/notify.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/codec.c b/daemon/codec.c index cd944860c..b4aaf25ec 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -3373,7 +3373,7 @@ static void __dtx_send_later(struct codec_timer *ct) { dtxb->head_ts, ts, ts_diff_us); else if (ts_diff >= dtxb->tspp * 2) { ilogs(dtx, LOG_DEBUG, "First packet in DTX buffer not ready yet (packet TS %lu, " - "DTX TS %lu, diff %li)", + "DTX TS %lu, diff %ld)", ts, dtxb->head_ts, ts_diff); dtxp = NULL; } diff --git a/recording-daemon/notify.c b/recording-daemon/notify.c index d277d966e..3c1e8cad9 100644 --- a/recording-daemon/notify.c +++ b/recording-daemon/notify.c @@ -212,7 +212,7 @@ static void *notify_timer(void *p) { gettimeofday(&now, NULL); if (now.tv_sec < first->retry_time) { ilog(LOG_DEBUG, "Sleeping until next scheduled HTTP notification retry in %lu seconds", - (unsigned long) first->retry_time - now.tv_sec); + (unsigned long) (first->retry_time - now.tv_sec)); struct timespec ts = {.tv_sec = first->retry_time, .tv_nsec = 0}; pthread_cond_timedwait(&timer_cond, &timer_lock, &ts); continue;