summaryrefslogtreecommitdiff
path: root/pango/pango-coverage.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-12-26 02:31:47 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-12-26 02:31:47 +0000
commit1c53de263257039f23193fb389d9808fb212812a (patch)
treecfcf04a299c3472a5089a2e87ed6569510098a43 /pango/pango-coverage.c
parentaa841230aae629fffc9b94b3b1b1a4fa794c9d12 (diff)
downloadpango-1c53de263257039f23193fb389d9808fb212812a.tar.gz
Bug 469049 – Fix all compiler warnings
2008-12-25 Behdad Esfahbod <behdad@gnome.org> Bug 469049 – Fix all compiler warnings * pango-view/viewer-pangocairo.c (render_callback): * pango/fonts.c (append_field), (pango_font_description_to_string): * pango/opentype/harfbuzz-dump.c: * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels): * pango/pango-coverage.c (pango_coverage_set): * pango/pango-markup.c (span_parse_func): * pango/pango-renderer.c (pango_renderer_default_draw_error_underline): * pango/pango-utils.c (pango_scan_string): * pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid), (draw_error_underline), (pango_cairo_renderer_class_init): Fix all the remaining warnings. svn path=/trunk/; revision=2767
Diffstat (limited to 'pango/pango-coverage.c')
-rw-r--r--pango/pango-coverage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c
index 4e47c244..73fb147b 100644
--- a/pango/pango-coverage.c
+++ b/pango/pango-coverage.c
@@ -212,7 +212,7 @@ pango_coverage_set (PangoCoverage *coverage,
g_return_if_fail (coverage != NULL);
g_return_if_fail (index >= 0);
- g_return_if_fail (level >= 0 && level <= 3);
+ g_return_if_fail ((guint) level <= 3);
block_index = index / 256;