From ad40f1de0ff786018375688757dc081c583833d4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 6 Aug 2008 08:39:13 +0000 Subject: [PATCH] Fix compiler warning. svn path=/trunk/; revision=2676 --- pango/pango-ot-ruleset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pango/pango-ot-ruleset.c b/pango/pango-ot-ruleset.c index 53f9fae..5be304f 100644 --- a/pango/pango-ot-ruleset.c +++ b/pango/pango-ot-ruleset.c @@ -93,7 +93,7 @@ pango_ot_ruleset_finalize (GObject *object) g_array_free (ruleset->rules, TRUE); if (ruleset->info) - g_object_remove_weak_pointer (G_OBJECT (ruleset->info), &ruleset->info); + g_object_remove_weak_pointer (G_OBJECT (ruleset->info), (gpointer *) &ruleset->info); parent_class->finalize (object); } @@ -175,7 +175,7 @@ pango_ot_ruleset_new (PangoOTInfo *info) ruleset = g_object_new (PANGO_TYPE_OT_RULESET, NULL); ruleset->info = info; - g_object_add_weak_pointer (G_OBJECT (ruleset->info), &ruleset->info); + g_object_add_weak_pointer (G_OBJECT (ruleset->info), (gpointer *) &ruleset->info); return ruleset; } -- 2.7.4