summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-08-26 18:53:43 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-08-26 18:57:03 -0400
commitb16c2664af5be02dfa987f3e8449dcb04d108c00 (patch)
treeedeb3ba4ecbd4768284d46ed0fdac10fa3d838c2
parent364548d8014ba4e29b486a5d430f23415f27742e (diff)
downloadpango-b16c2664af5be02dfa987f3e8449dcb04d108c00.tar.gz
[HB] Bug 593231 - < c99 compiler dislikes ValueRecord
-rw-r--r--pango/opentype/hb-ot-layout-gpos-private.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/opentype/hb-ot-layout-gpos-private.hh b/pango/opentype/hb-ot-layout-gpos-private.hh
index 0357522e..b1523083 100644
--- a/pango/opentype/hb-ot-layout-gpos-private.hh
+++ b/pango/opentype/hb-ot-layout-gpos-private.hh
@@ -34,7 +34,9 @@
/* Shared Tables: ValueRecord, Anchor Table, and MarkArray */
typedef SHORT Value;
-typedef Value ValueRecord[];
+
+typedef Value ValueRecord[0];
+ASSERT_SIZE (ValueRecord, 0);
struct ValueFormat : USHORT
{