[pango] Another warning fix
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Another warning fix
- Date: Fri, 2 Aug 2019 12:21:40 +0000 (UTC)
commit 469333ab8548d1f57df4b52e522533f8cce8c679
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 2 08:20:40 2019 -0400
Another warning fix
examples/pangowin32tobmp.c | 5 +----
1 file changed, 1 insertion(+), 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]