From: Stefan Kost Date: Sun, 22 Jun 2008 09:43:54 +0000 (+0000) Subject: Fix compiler warning in format string check. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=fa7a7b3e0ddc437b95b30f8322bb8ae1138c2bf4;p=dana%2Fcg-glib.git Fix compiler warning in format string check. * gobject/gsignal.c: Fix compiler warning in format string check. svn path=/trunk/; revision=7084 --- diff --git a/ChangeLog b/ChangeLog index 334507e0..284b05f4 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 8a9a33c2..3eaa7c68 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'",