diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-12-14 07:36:58 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-12-14 07:36:58 -0500 |
commit | dfc6fb3e46d134e6dc567303974e7f0f3eea51fa (patch) | |
tree | a91d7423f51d68023b360bff63218de6f37d18aa /tools | |
parent | db3d4d4c6edbd46b41a40b1550a413b1935b2926 (diff) | |
download | pango-dfc6fb3e46d134e6dc567303974e7f0f3eea51fa.tar.gz |
gen-script-lang-table: Fix compiler warnings
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gen-script-for-lang.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gen-script-for-lang.c b/tools/gen-script-for-lang.c index b3cfa7ba..04614b15 100644 --- a/tools/gen-script-for-lang.c +++ b/tools/gen-script-for-lang.c @@ -218,8 +218,6 @@ int main (void) struct tm *tmp; int fc_version; - g_type_init (); - script_array = g_array_new (FALSE, FALSE, sizeof (LangInfo)); @@ -287,7 +285,7 @@ int main (void) g_print (" { \"%s\", %*s{ ", pango_language_to_string (info->lang), - max_lang_len - strlen (pango_language_to_string (info->lang)), ""); + (int)(max_lang_len - strlen (pango_language_to_string (info->lang))), ""); for (j = 0; j < MAX_SCRIPTS; j++) { if (!info->scripts[j].freq) |