[test] Silence more compiler warnings

pull/2937/head
Behdad Esfahbod 4 years ago
parent 1b1413246b
commit 47cbf8f2c4
  1. 3
      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

Loading…
Cancel
Save