Commit 0b9c264a authored by Matthias Clasen's avatar Matthias Clasen

Fix a cast-align warning

clang doesn't know that this is fine, and complains.
So help it out.
parent 7dd4a84b
......@@ -66,7 +66,7 @@ pango_language_get_private (PangoLanguage *language)
if (!language)
return NULL;
priv = (PangoLanguagePrivate *) ((char *)language - sizeof (PangoLanguagePrivate));
priv = (PangoLanguagePrivate *)(void *)((char *)language - sizeof (PangoLanguagePrivate));
if (G_UNLIKELY (priv->magic != PANGO_LANGUAGE_PRIVATE_MAGIC))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment