From 77197847335409a743688a50af51b39160f61754 Mon Sep 17 00:00:00 2001 From: Ignacio Casal Quinteiro Date: Tue, 24 Mar 2015 13:34:10 +0100 Subject: [PATCH] inspector: fix warning about not using the right format for an int64 --- gtk/inspector/misc-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/inspector/misc-info.c b/gtk/inspector/misc-info.c index c3496b88a3..6138f627e9 100644 --- a/gtk/inspector/misc-info.c +++ b/gtk/inspector/misc-info.c @@ -354,7 +354,7 @@ update_info (gpointer data) frame = gdk_frame_clock_get_frame_counter (clock); frame_time = gdk_frame_clock_get_frame_time (clock); - tmp = g_strdup_printf ("%ld", frame); + tmp = g_strdup_printf ("%"G_GINT64_FORMAT, frame); gtk_label_set_label (GTK_LABEL (sl->priv->framecount), tmp); g_free (tmp);