From fa7a7b3e0ddc437b95b30f8322bb8ae1138c2bf4 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sun, 22 Jun 2008 09:43:54 +0000 Subject: [PATCH] Fix compiler warning in format string check. * gobject/gsignal.c: Fix compiler warning in format string check. svn path=/trunk/; revision=7084 --- ChangeLog | 5 +++++ gobject/gsignal.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 334507e0a..284b05f4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-22 Stefan Kost + + * gobject/gsignal.c: + Fix compiler warning in format string check. + 2008-06-22 Stefan Kost * docs/reference/gobject/tmpl/signals.sgml: diff --git a/gobject/gsignal.c b/gobject/gsignal.c index 8a9a33c2f..3eaa7c68f 100644 --- a/gobject/gsignal.c +++ b/gobject/gsignal.c @@ -1143,7 +1143,7 @@ g_signal_lookup (const gchar *name, { /* give elaborate warnings */ if (!g_type_name (itype)) - g_warning (G_STRLOC ": unable to lookup signal \"%s\" for invalid type id `%lu'", + g_warning (G_STRLOC ": unable to lookup signal \"%s\" for invalid type id `%"G_GSIZE_FORMAT"'", name, itype); else if (!G_TYPE_IS_INSTANTIATABLE (itype)) g_warning (G_STRLOC ": unable to lookup signal \"%s\" for non instantiatable type `%s'", @@ -1201,7 +1201,7 @@ g_signal_list_ids (GType itype, { /* give elaborate warnings */ if (!g_type_name (itype)) - g_warning (G_STRLOC ": unable to list signals for invalid type id `%lu'", + g_warning (G_STRLOC ": unable to list signals for invalid type id `%"G_GSIZE_FORMAT"'", itype); else if (!G_TYPE_IS_INSTANTIATABLE (itype) && !G_TYPE_IS_INTERFACE (itype)) g_warning (G_STRLOC ": unable to list signals of non instantiatable type `%s'",