From 4ccedd22eaa6e47bd8bbf255627a8b55fbb44736 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 5 Dec 2007 03:41:29 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20501575=20=E2=80=93=20Compile=20errors=20P?= =?UTF-8?q?atch=20from=20Jens=20Granseuer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2007-12-04 Behdad Esfahbod Bug 501575 – Compile errors Patch from Jens Granseuer * pango/opentype/harfbuzz-stream.c (_hb_font_goto_table): * pango/pango-utils.c (handle_alias_line): Fix C99ism. --- src/harfbuzz-stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/harfbuzz-stream.c b/src/harfbuzz-stream.c index 29d280ae5..f8a19b5b7 100644 --- a/src/harfbuzz-stream.c +++ b/src/harfbuzz-stream.c @@ -150,6 +150,8 @@ _hb_font_goto_table( HB_Font font, { HB_Stream stream = font->stream; + HB_UInt offset = 0; + HB_UInt count, nn; HB_Error error; LOG(( "_hb_font_goto_table( %p, %c%c%c%c, %p )\n", @@ -170,8 +172,6 @@ _hb_font_goto_table( HB_Font font, /* parse the directory table directly, without using * FreeType's built-in data structures */ - HB_UInt offset = 0; - HB_UInt count, nn; if ( font->num_faces > 1 ) {