playback/player: gtk-play: change print format of guint64

guint64 type usually corresponds with 'G_GUINT64_FORMAT'.
This commit is contained in:
Justin Kim 2015-11-04 19:59:23 +09:00 committed by Sebastian Dröge
parent e4ae2c3c7b
commit 6cc6793d1f

View file

@ -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);