[gnome-builder] gstyle: Fix the build on 32 bit architectures



commit caa46488fe030dba067485819ddcc998ab4a5b9c
Author: Kalev Lember <klember redhat com>
Date:   Tue Aug 23 12:51:02 2016 +0200

    gstyle: Fix the build on 32 bit architectures
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770273

 contrib/gstyle/gstyle-palette.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/gstyle/gstyle-palette.c b/contrib/gstyle/gstyle-palette.c
index 98fa593..23b1728 100644
--- a/contrib/gstyle/gstyle-palette.c
+++ b/contrib/gstyle/gstyle-palette.c
@@ -996,7 +996,7 @@ gstyle_palette_set_id (GstylePalette *self,
   if (gstyle_str_empty0 (id))
     {
       num_id = g_get_real_time ();
-      self->id = g_strdup_printf ("gb-cp-%lu", num_id);
+      self->id = g_strdup_printf ("gb-cp-%"G_GINT64_FORMAT, num_id);
       gstyle_palette_set_changed (self, TRUE);
     }
   else if (g_strcmp0 (self->id, id) != 0)


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