summaryrefslogtreecommitdiff
path: root/examples/pangowin32tobmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pangowin32tobmp.c')
-rw-r--r--examples/pangowin32tobmp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/pangowin32tobmp.c b/examples/pangowin32tobmp.c
index 2a945d70..8d3831a2 100644
--- a/examples/pangowin32tobmp.c
+++ b/examples/pangowin32tobmp.c
@@ -53,10 +53,7 @@ static int
compare_font_family (gconstpointer a,
gconstpointer b)
{
- const PangoFontFamily** aa = (const PangoFontFamily **)a;
- const PangoFontFamily** bb = (const PangoFontFamily **)b;
-
- return strcmp (pango_font_family_get_name (*aa), pango_font_family_get_name (*bb));
+ return strcmp (pango_font_family_get_name ((PangoFamily *)*a), pango_font_family_get_name ((PangoFamily *)*b));
}
int main (int argc, char **argv)