summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-02 08:20:40 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-02 08:21:14 -0400
commit469333ab8548d1f57df4b52e522533f8cce8c679 (patch)
tree949e056b0c4e569893837cb167b16a85a5cc3b12 /examples
parentff4aa9fb0b4e0954a4b01a59be8503bcfc7f7b7e (diff)
downloadpango-469333ab8548d1f57df4b52e522533f8cce8c679.tar.gz
Another warning fix
Diffstat (limited to 'examples')
-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)