diff --git a/test/api/test-unicode.c b/test/api/test-unicode.c index 5c1bcb1bc..6037408aa 100644 --- a/test/api/test-unicode.c +++ b/test/api/test-unicode.c @@ -549,6 +549,8 @@ typedef struct { G_N_ELEMENTS (name##_tests_more), \ DEFAULT \ } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wcast-function-type" static const property_t properties[] = { PROPERTY (combining_class, 0), @@ -556,6 +558,7 @@ static const property_t properties[] = PROPERTY (mirroring, RETURNS_UNICODE_ITSELF), PROPERTY (script, (unsigned int) HB_SCRIPT_UNKNOWN) }; +#pragma GCC diagnostic pop #undef PROPERTY static void