[pango] Silence a compiler warning



commit 988ca18caf91f74d40b6d32abcfe667c1f8d574c
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 28 03:07:24 2019 +0000

    Silence a compiler warning

 pango/pango-language.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/pango-language.c b/pango/pango-language.c
index 0c195844..575d4652 100644
--- a/pango/pango-language.c
+++ b/pango/pango-language.c
@@ -681,7 +681,7 @@ pango_language_get_scripts (PangoLanguage *language,
       *num_scripts = j;
     }
 
-  return script_for_lang->scripts;
+  return (const PangoScript *) script_for_lang->scripts;
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]