diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gobject/pygtype.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-08-27 Gustavo J. A. M. Carneiro <gjc@gnome.org> + + * gobject/pygtype.c (pyg_type_wrapper_repr): Typecast self->type + to (unsigned long int) to fix a compilation warning. + 2007-08-14 Ed Catmur <ed@catmur.co.uk> reviewed by: Gustavo J. A. M. Carneiro diff --git a/gobject/pygtype.c b/gobject/pygtype.c index a95fd54..897234a 100644 --- a/gobject/pygtype.c +++ b/gobject/pygtype.c @@ -50,7 +50,7 @@ pyg_type_wrapper_repr(PyGTypeWrapper *self) const gchar *name = g_type_name(self->type); g_snprintf(buf, sizeof(buf), "<GType %s (%lu)>", - name?name:"invalid", self->type); + name?name:"invalid", (unsigned long int) self->type); return PyString_FromString(buf); } |