mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
playback/player: gtk-play: change print format of guint64
guint64 type usually corresponds with 'G_GUINT64_FORMAT'.
This commit is contained in:
parent
e4ae2c3c7b
commit
6cc6793d1f
1 changed files with 2 additions and 2 deletions
|
@ -1521,9 +1521,9 @@ update_position_label (GtkLabel * label, guint64 seconds)
|
|||
seconds -= mins * 60;
|
||||
|
||||
if (hrs)
|
||||
data = g_strdup_printf ("%d:%02d:%02ld", hrs, mins, seconds);
|
||||
data = g_strdup_printf ("%d:%02d:%02" G_GUINT64_FORMAT, hrs, mins, seconds);
|
||||
else
|
||||
data = g_strdup_printf ("%02d:%02ld", mins, seconds);
|
||||
data = g_strdup_printf ("%02d:%02" G_GUINT64_FORMAT, mins, seconds);
|
||||
|
||||
gtk_label_set_label (label, data);
|
||||
g_free (data);
|
||||
|
|
Loading…
Reference in a new issue