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
@ -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…
x
Reference in New Issue
Block a user