summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/pangowin32tobmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/pangowin32tobmp.c b/examples/pangowin32tobmp.c
index bde21c65..6f93468b 100644
--- a/examples/pangowin32tobmp.c
+++ b/examples/pangowin32tobmp.c
@@ -53,7 +53,9 @@ static int
compare_font_family (gconstpointer a,
gconstpointer b)
{
- return strcmp (pango_font_family_get_name ((PangoFontFamily *)*a), pango_font_family_get_name ((PangoFontFamily *)*b));
+ PangoFontFamily **aa = (PangoFontFamily **)a;
+ PangoFontFamily **bb = (PangoFontFamily **)b;
+ return strcmp (pango_font_family_get_name (*aa, *bb);
}
int main (int argc, char **argv)