[cairo-commit] src/cairo-truetype-subset-private.h

Adrian Johnson ajohnson at kemper.freedesktop.org
Fri Feb 16 16:25:43 PST 2007


 src/cairo-truetype-subset-private.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
diff-tree 9927dde5334322c97942982f9bf632e74502d628 (from 9bae496a0a057bb0de70b078ee5cde265663dc86)
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sat Feb 17 10:55:14 2007 +1030

    TrueType: fix bug #9998 - build error with gcc 2.95

diff --git a/src/cairo-truetype-subset-private.h b/src/cairo-truetype-subset-private.h
index 25c798d..e4be77c 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 {


More information about the cairo-commit mailing list