From: Behdad Esfahbod Date: Tue, 17 Oct 2017 18:14:48 +0000 (-0700) Subject: [coretext] Fix build X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80cc0a7e3e05fb7fcfbdc0188cb60b115ad47d04;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [coretext] Fix build error: static_assert expression is not an integral constant expression --- diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index ca54833..937822b 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc @@ -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,