[gtk+/native-layout] Fix compilation warning: use the correct conversion specifier
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Fix compilation warning: use the correct conversion specifier
- Date: Sun, 4 Apr 2010 02:08:36 +0000 (UTC)
commit 14724073a4b986e2bd01383ff0d4b533afc10852
Author: Javier Jardón <jjardon gnome org>
Date: Sun Dec 20 21:13:26 2009 +0100
Fix compilation warning: use the correct conversion specifier
Use G_GSIZE_FORMAT instead of %d
gdk-pixbuf/io-png.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c
index 8b90865..da9c619 100644
--- a/gdk-pixbuf/io-png.c
+++ b/gdk-pixbuf/io-png.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]