diff options
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r-- | pango/pango-context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c index 8e967134..8bb6a86e 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -1412,8 +1412,8 @@ string_from_script (PangoScript script) { static GEnumClass *class = NULL; /* MT-safe */ GEnumValue *value; - if (g_once_init_enter ((gsize*)&class)) - g_once_init_leave((gsize*)&class, (gsize)g_type_class_ref (PANGO_TYPE_SCRIPT)); + if (g_once_init_enter (&class)) + g_once_init_leave(&class, (gpointer)g_type_class_ref (PANGO_TYPE_SCRIPT)); value = g_enum_get_value (class, script); if (!value) |