[gtk+/gtk-3-16] inspector: fix warning about not using the right format for an int64
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-16] inspector: fix warning about not using the right format for an int64
- Date: Tue, 24 Mar 2015 13:33:13 +0000 (UTC)
commit 2eab2d79b7e23cf2dc9fcf3b3ce76e9d16742aa7
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]