summaryrefslogtreecommitdiff
path: root/src/cairo-truetype-subset-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2007-02-17 10:55:14 +1030
committerAdrian Johnson <ajohnson@redneon.com>2007-02-17 10:55:14 +1030
commit9927dde5334322c97942982f9bf632e74502d628 (patch)
tree9f37c563aac50177a2b8e5a16cd2da81791d63e1 /src/cairo-truetype-subset-private.h
parent9bae496a0a057bb0de70b078ee5cde265663dc86 (diff)
downloadcairo-9927dde5334322c97942982f9bf632e74502d628.tar.gz
TrueType: fix bug #9998 - build error with gcc 2.95
Diffstat (limited to 'src/cairo-truetype-subset-private.h')
-rw-r--r--src/cairo-truetype-subset-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-truetype-subset-private.h b/src/cairo-truetype-subset-private.h
index 25c798d7d..e4be77ce1 100644
--- a/src/cairo-truetype-subset-private.h
+++ b/src/cairo-truetype-subset-private.h
@@ -75,7 +75,7 @@ typedef struct _tt_cmap_index {
typedef struct _tt_cmap {
uint16_t version;
uint16_t num_tables;
- tt_cmap_index_t index[];
+ tt_cmap_index_t index[1];
} tt_cmap_t;
typedef struct _segment_map {
@@ -86,7 +86,7 @@ typedef struct _segment_map {
uint16_t searchRange;
uint16_t entrySelector;
uint16_t rangeShift;
- uint16_t endCount[];
+ uint16_t endCount[1];
} tt_segment_map_t;
typedef struct _tt_head {