From: Olliver Schinagl Date: Fri, 16 Jun 2023 21:54:24 +0000 (+0200) Subject: otamux: Make sure we use PRItime_t X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17eebbef5b017352afcded36c27cb0be11ebd4a1;p=thirdparty%2Ftvheadend.git otamux: Make sure we use PRItime_t As %li isn't supported equally, we must ensure we always use PRItime_t. Signed-off-by: Olliver Schinagl --- diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c index c55b126cd..953009479 100644 --- a/src/epggrab/otamux.c +++ b/src/epggrab/otamux.c @@ -725,7 +725,7 @@ epggrab_ota_start_cb ( void *p ); static void epggrab_ota_next_arm( time_t next ) { - tvhtrace(LS_EPGGRAB, "next ota start event in %li seconds", next - time(NULL)); + tvhtrace(LS_EPGGRAB, "next ota start event in %"PRItime_t" seconds", next - time(NULL)); gtimer_arm_absn(&epggrab_ota_start_timer, epggrab_ota_start_cb, NULL, next); dbus_emit_signal_s64("/epggrab/ota", "next", next); }