diff options
author | Stefan Kost <stefkost@src.gnome.org> | 2008-06-22 09:43:54 +0000 |
---|---|---|
committer | Stefan Kost <stefkost@src.gnome.org> | 2008-06-22 09:43:54 +0000 |
commit | fa7a7b3e0ddc437b95b30f8322bb8ae1138c2bf4 (patch) | |
tree | c2d86e7045f3a3c24124bd5bcc83bde85e33144f /gobject | |
parent | 356fe46531106b75f2c240ee63cd9f77d2df3df9 (diff) |
Fix compiler warning in format string check.
* gobject/gsignal.c:
Fix compiler warning in format string check.
svn path=/trunk/; revision=7084
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/gsignal.c | 4 |
1 files changed, 2 insertions, 2 deletions
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'", |