]> Pileus Git - ~andy/gtk/commitdiff
Fix compilation warning: use the correct conversion specifier
authorJavier Jardón <jjardon@gnome.org>
Sun, 20 Dec 2009 20:13:26 +0000 (21:13 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:53:36 +0000 (20:53 -0400)
Use G_GSIZE_FORMAT instead of %d

gdk-pixbuf/io-png.c

index 8b90865855a26f9c6f451ea50b36d34b3c49ec9c..da9c6198480d265b92841494fcb77ee88c57d58d 100644 (file)
@@ -883,7 +883,7 @@ static gboolean real_save_png (GdkPixbuf        *pixbuf,
                                        g_set_error (error,
                                                     GDK_PIXBUF_ERROR,
                                                     GDK_PIXBUF_ERROR_BAD_OPTION,
-                                                    _("Color profile has invalid length '%d'."),
+                                                    _("Color profile has invalid length '%" G_GSIZE_FORMAT "'."),
                                                     icc_profile_size);
                                        success = FALSE;
                                        goto cleanup;