diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-12-26 02:31:35 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-12-26 02:31:35 +0000 |
commit | aa841230aae629fffc9b94b3b1b1a4fa794c9d12 (patch) | |
tree | 67b5e4938d6fac2b964844363bd6ba8e92ed6dbf /pango/pango-ot-ruleset.c | |
parent | 069472e0b2bb810e335c0e28a37dcb71e6843030 (diff) | |
download | pango-aa841230aae629fffc9b94b3b1b1a4fa794c9d12.tar.gz |
Fix more warnings.
2008-12-25 Behdad Esfahbod <behdad@gnome.org>
* pango/modules.c (pango_module_load), (script_info_free):
* pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table):
* pango/pango-bidi-type.c:
* pango/pango-coverage.c (pango_coverage_ref),
(pango_coverage_unref):
* pango/pango-engine.c (pango_engine_shape_real_covers),
(fallback_engine_shape), (fallback_engine_covers):
* pango/pango-fontmap.c (pango_font_map_init):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
(pango_ot_ruleset_new):
* pango/pangofc-decoder.c (pango_fc_decoder_init),
(pango_fc_decoder_class_init):
* pango/pangofc-font.c (pango_fc_font_find_shaper),
(pango_fc_font_get_coverage):
* pango/pangofc-fontmap.c (pango_fc_font_map_list_families),
(pango_fc_make_pattern), (pango_fc_font_map_get_patterns),
(get_first_font), (_pango_fc_font_map_get_coverage),
(cleanup_font), (pango_fc_font_description_from_pattern),
(pango_fc_face_list_sizes), (pango_fc_family_list_faces):
* pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution):
* pango/pangoft2-render.c (pango_ft2_renderer_init),
(pango_ft2_renderer_draw_trapezoid):
* pango/pangoft2.c (pango_ft2_font_get_face),
(pango_ft2_font_real_unlock_face),
(pango_ft2_free_glyph_info_callback):
Fix more warnings.
svn path=/trunk/; revision=2766
Diffstat (limited to 'pango/pango-ot-ruleset.c')
-rw-r--r-- | pango/pango-ot-ruleset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-ot-ruleset.c b/pango/pango-ot-ruleset.c index 5be304fa..2d0492b8 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), (gpointer *) &ruleset->info); + g_object_remove_weak_pointer (G_OBJECT (ruleset->info), (gpointer *)(void *)&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), (gpointer *) &ruleset->info); + g_object_add_weak_pointer (G_OBJECT (ruleset->info), (gpointer *)(void*)&ruleset->info); return ruleset; } |