summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-02 08:55:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-02 08:55:49 -0400
commit6f4a159fb6edfc953d3f68baed5977bdc59afee5 (patch)
tree403c530c4020f401eb4f9f560b75d3c74ecd524b /examples
parent146417f2330fd36bc75376f632ac6f265684cb92 (diff)
downloadpango-6f4a159fb6edfc953d3f68baed5977bdc59afee5.tar.gz
Another attempt
Diffstat (limited to 'examples')
-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)