summaryrefslogtreecommitdiffstats
path: root/gobject
diff options
context:
space:
mode:
Diffstat (limited to 'gobject')
-rw-r--r--gobject/pygtype.c2
1 files changed, 1 insertions, 1 deletions
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);
}