[test] Silence more compiler warnings

This commit is contained in:
Behdad Esfahbod 2021-03-30 21:01:44 -06:00
parent 1b1413246b
commit 47cbf8f2c4
1 changed files with 3 additions and 0 deletions

View File

@ -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