ARRAY_LENGTH fails with -Wglobal-constructors
This commit is contained in:
parent
a75983690d
commit
5e9863f3c6
|
@ -67,7 +67,7 @@ static const unsigned int HB_STRING_ARRAY_OFFS_NAME[] =
|
||||||
sizeof (HB_STRING_ARRAY_TYPE_NAME)
|
sizeof (HB_STRING_ARRAY_TYPE_NAME)
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned int HB_STRING_ARRAY_LENG_NAME = ARRAY_LENGTH (HB_STRING_ARRAY_OFFS_NAME) - 1;
|
static const unsigned int HB_STRING_ARRAY_LENG_NAME = ARRAY_LENGTH_CONST (HB_STRING_ARRAY_OFFS_NAME) - 1;
|
||||||
|
|
||||||
static inline hb_bytes_t
|
static inline hb_bytes_t
|
||||||
HB_STRING_ARRAY_NAME (unsigned int i)
|
HB_STRING_ARRAY_NAME (unsigned int i)
|
||||||
|
|
Loading…
Reference in New Issue