]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
otamux: Make sure we use PRItime_t
authorOlliver Schinagl <oliver@schinagl.nl>
Fri, 16 Jun 2023 21:54:24 +0000 (23:54 +0200)
committerFlole998 <Flole998@users.noreply.github.com>
Sun, 6 Aug 2023 07:39:22 +0000 (09:39 +0200)
As %li isn't supported equally, we must ensure we always use PRItime_t.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
src/epggrab/otamux.c

index c55b126cdf5fe6b58fc2d570f68deecfe5126d13..953009479383c655bbd15f1521a4895d67320226 100644 (file)
@@ -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);
 }