diff options
Diffstat (limited to 'src/wgt-config.c')
-rw-r--r-- | src/wgt-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wgt-config.c b/src/wgt-config.c index 1fb61bc..5760177 100644 --- a/src/wgt-config.c +++ b/src/wgt-config.c @@ -73,10 +73,10 @@ static xmlNodePtr first(const char *type) return next(xmlDocGetRootElement(configxml)->children, type); } -static int scorelang(xmlNodePtr node) +static unsigned int scorelang(xmlNodePtr node) { char *lang = xmlNodeGetLang(node); - int score = wgt_locales_score(configwgt, lang); + unsigned int score = wgt_locales_score(configwgt, lang); xmlFree(lang); return score; } @@ -84,7 +84,7 @@ static int scorelang(xmlNodePtr node) static xmlNodePtr element_based_localisation(const char *type) { xmlNodePtr resu, elem; - int sr, s; + unsigned int sr, s; resu = first(type); if (resu) { |