From 549be924bccd187f53791dfa27647981ac909545 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 26 Dec 2008 02:31:47 +0000 Subject: [PATCH] =?utf8?q?Bug=20469049=20=E2=80=93=20Fix=20all=20compiler?= =?utf8?q?=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-12-25 Behdad Esfahbod 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. --- src/harfbuzz-dump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/harfbuzz-dump.c b/src/harfbuzz-dump.c index 8c81da1..8611664 100644 --- a/src/harfbuzz-dump.c +++ b/src/harfbuzz-dump.c @@ -54,6 +54,9 @@ do_indent (FILE *stream, int indent) fprintf (stream, "%*s", indent * 3, ""); } +#if __GNUC__ >= 3 +__attribute__((__format__(__printf__, 3, 4))) +#endif static void dump (FILE *stream, int indent, const char *format, ...) { -- 2.7.4