diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-08-02 08:55:49 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-08-02 08:55:49 -0400 |
commit | 6f4a159fb6edfc953d3f68baed5977bdc59afee5 (patch) | |
tree | 403c530c4020f401eb4f9f560b75d3c74ecd524b | |
parent | 146417f2330fd36bc75376f632ac6f265684cb92 (diff) | |
download | pango-6f4a159fb6edfc953d3f68baed5977bdc59afee5.tar.gz |
Another attempt
-rw-r--r-- | examples/pangowin32tobmp.c | 4 |
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) |