[gtk+] inspector: fix warning about not using the right format for an int64



commit 77197847335409a743688a50af51b39160f61754
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Mar 24 13:34:10 2015 +0100

    inspector: fix warning about not using the right format for an int64

 gtk/inspector/misc-info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/inspector/misc-info.c b/gtk/inspector/misc-info.c
index c3496b8..6138f62 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]