summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{