summaryrefslogtreecommitdiff
path: root/pango/pangoft2.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-10-15 17:48:20 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-10-15 17:48:20 +0000
commit2d66e2fe68468ca3a5033b715f4daff237b9dfd3 (patch)
treeca2c1a5ca0e84299aa1dc62c2bd570d7be5abf1d /pango/pangoft2.c
parent840d74b4712b8b77035cd8abbf72b3f6fe2e2c8c (diff)
downloadpango-2d66e2fe68468ca3a5033b715f4daff237b9dfd3.tar.gz
Bug 481537 – compiler warning fixes Patch from Kjartan Maraas
2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 481537 – compiler warning fixes Patch from Kjartan Maraas * pango/break.c (pango_get_log_attrs): * pango/pango-attributes.c (pango_attr_list_insert_internal): * pango/pango-layout.c (process_item), (justify_clusters): * pango/pango-markup.c (span_parse_boolean): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pango-utils.c (pango_scan_int): * pango/pangocairo-font.c (_pango_cairo_font_install): * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context): * pango/pangoft2.c (load_fallback_face): * pango/pangox-fontmap.c (pango_x_get_coverage_win): * pango/pangox.c (itemize_string_foreach): Fix warnings. svn path=/trunk/; revision=2444
Diffstat (limited to 'pango/pangoft2.c')
-rw-r--r--pango/pangoft2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index e8800344..f2d85af9 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -100,7 +100,7 @@ load_fallback_face (PangoFT2Font *ft2font,
FC_PIXEL_SIZE, FcTypeDouble, (double)ft2font->size / PANGO_SCALE,
NULL);
- _pango_ft2_font_map_default_substitute (fcfont->fontmap, sans);
+ _pango_ft2_font_map_default_substitute ((PangoFcFontMap *)fcfont->fontmap, sans);
matched = FcFontMatch (NULL, sans, &result);