diff options
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/common/ucmndata.h')
-rw-r--r-- | Build/source/libs/icu/icu-src/source/common/ucmndata.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/libs/icu/icu-src/source/common/ucmndata.h b/Build/source/libs/icu/icu-src/source/common/ucmndata.h index cc126d53ac1..c3eba9f4d02 100644 --- a/Build/source/libs/icu/icu-src/source/common/ucmndata.h +++ b/Build/source/libs/icu/icu-src/source/common/ucmndata.h @@ -52,7 +52,11 @@ typedef struct { typedef struct { uint32_t count; - UDataOffsetTOCEntry entry[2]; /* Actual size of array is from count. */ + /** + * Variable-length array declared with length 1 to disable bounds checkers. + * The actual array length is in the count field. + */ + UDataOffsetTOCEntry entry[1]; } UDataOffsetTOC; /** |