summaryrefslogtreecommitdiff
path: root/pango/pango-engine.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-08-30 14:14:22 -0400
committerBehdad Esfahbod <behdad@behdad.org>2013-08-30 14:14:47 -0400
commit14b0697a59f51dd017038ca2bb79ba2c2f4034df (patch)
treef660c2380fe4e3dd9cc1b8faca426f81264c6e36 /pango/pango-engine.c
parentce791d34b18215bd89a31d9eeac9e72b2b8ceb77 (diff)
downloadpango-14b0697a59f51dd017038ca2bb79ba2c2f4034df.tar.gz
Bug 703995 - Compiler warnings about strict aliasing
Patch from Akira TAGOH.
Diffstat (limited to 'pango/pango-engine.c')
-rw-r--r--pango/pango-engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-engine.c b/pango/pango-engine.c
index 994c722b..04de3df7 100644
--- a/pango/pango-engine.c
+++ b/pango/pango-engine.c
@@ -205,8 +205,8 @@ PangoEngineShape *
_pango_get_fallback_shaper (void)
{
static PangoEngineShape *fallback_shaper = NULL; /* MT-safe */
- if (g_once_init_enter ((gsize*)&fallback_shaper))
- g_once_init_leave((gsize*)&fallback_shaper, (gsize)g_object_new (pango_fallback_engine_get_type (), NULL));
+ if (g_once_init_enter (&fallback_shaper))
+ g_once_init_leave(&fallback_shaper, g_object_new (pango_fallback_engine_get_type (), NULL));
return fallback_shaper;
}