From a7b77875edb12a6ef46e58b6f26324d25c10b7cd Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 5 Nov 2009 10:56:41 -0600 Subject: 64-bit fix in that GTypes are not ints on 64-bit --- libindicator/indicator-object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libindicator') diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index a492038..e87fa5f 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -249,11 +249,11 @@ indicator_object_new_from_file (const gchar * file) error'd state. */ object = g_object_new(lget_type(), NULL); if (object == NULL) { - g_warning("Unable to build an object if type '%d' in module: %s", lget_type(), file); + g_warning("Unable to build an object if type '%d' in module: %s", (gint)lget_type(), file); goto unrefandout; } if (!INDICATOR_IS_OBJECT(object)) { - g_warning("Type '%d' in file %s is not a subclass of IndicatorObject.", lget_type(), file); + g_warning("Type '%d' in file %s is not a subclass of IndicatorObject.", (gint)lget_type(), file); goto unrefandout; } -- cgit v1.2.3