aports/community/livi/fix-ld-format-string.patch
2024-03-18 12:57:34 +00:00

22 lines
687 B
Diff

diff --git a/src/livi-window.c b/src/livi-window.c
index 0df725a..c9eacf5 100644
--- a/src/livi-window.c
+++ b/src/livi-window.c
@@ -25,6 +25,7 @@
#include <adwaita.h>
#include <glib/gi18n.h>
+#include <inttypes.h>
enum {
PROP_0,
@@ -1176,7 +1177,7 @@ livi_window_resume_pos (LiviWindow *self)
if (pos > 0) {
pos *= GST_MSECOND;
/* Seek directly without showing any overlays */
- g_debug ("Found video %s, resuming at %ld s", self->stream.ref_uri, pos / GST_SECOND);
+ g_debug ("Found video %s, resuming at %" PRId64 "s", self->stream.ref_uri, pos / GST_SECOND);
gst_play_seek (self->player, pos);
show_resume_or_restart_overlay (self, TRUE);
}