diff options
author | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-08-27 11:34:02 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-08-27 11:34:02 +0000 |
commit | 30706b9430eac494a9567427c68b4e5a2ef3ec5e (patch) | |
tree | cfbb6433b4b39b13845d429a83ca866d4c8f1cc8 | |
parent | bac7bd79214a78adb0180b36447474e7ae5649f3 (diff) | |
download | pygobject-30706b9430eac494a9567427c68b4e5a2ef3ec5e.tar.gz |
Fix compilation warning.
svn path=/trunk/; revision=695
-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 a95fd54a..897234a7 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); } |