[coretext] Fix build

error: static_assert expression is not an integral constant expression
This commit is contained in:
Behdad Esfahbod 2017-10-17 11:14:48 -07:00
parent a11249ee93
commit 80cc0a7e3e
1 changed files with 1 additions and 1 deletions

View File

@ -678,7 +678,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan,
CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &active_features[j].rec.feature),
CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &active_features[j].rec.setting)
};
static_assert ((ARRAY_LENGTH (keys) == ARRAY_LENGTH (values)), "");
static_assert ((ARRAY_LENGTH_CONST (keys) == ARRAY_LENGTH_CONST (values)), "");
CFDictionaryRef dict = CFDictionaryCreate (kCFAllocatorDefault,
(const void **) keys,
(const void **) values,