From 94edbd3337865711a07a5f810d42cfcbf9ae8ec5 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 3 Oct 2005 17:11:31 +0000 Subject: Fix gcc 4.0 warnings. * gobject/pygobject.c: (PyGProps_length): * gtk/gdk.defs: * gtk/gdk.override: * gtk/gtk.defs: * gtk/gtk.override: Fix gcc 4.0 warnings. --- gobject/pygobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gobject/pygobject.c b/gobject/pygobject.c index 398d915..da2e610 100644 --- a/gobject/pygobject.c +++ b/gobject/pygobject.c @@ -337,13 +337,13 @@ static int PyGProps_length(PyGProps *self) { GObjectClass *class; - int n_props; + guint n_props; class = g_type_class_ref(self->gtype); g_object_class_list_properties(class, &n_props); g_type_class_unref(class); - return n_props; + return (int)n_props; } static PySequenceMethods _PyGProps_as_sequence = { -- cgit