From 6b13103dad92d505e038c268af66aeb04b7b4d87 Mon Sep 17 00:00:00 2001 From: dequis Date: Fri, 16 Jan 2015 16:50:23 -0300 Subject: Replace isdigit/isalpha/.../tolower/toupper with glib variants This fixes warnings about passing signed chars to them (apparently they are implemented as macros that do array lookups without checks in some platforms, yay) Specifically: functions=isalnum|isalpha|isdigit|isspace|isxdigit|tolower|toupper sed -ir "s/$functions/g_ascii_&/g" **/*.c --- protocols/skype/skype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/skype') diff --git a/protocols/skype/skype.c b/protocols/skype/skype.c index 8452aff9..20897d99 100644 --- a/protocols/skype/skype.c +++ b/protocols/skype/skype.c @@ -513,7 +513,7 @@ static void skype_parse_user(struct im_connection *ic, char *line) if (strlen(sd->info_sex)) { char *iptr = sd->info_sex; while (*iptr++) - *iptr = tolower(*iptr); + *iptr = g_ascii_tolower(*iptr); g_string_append_printf(st, "Gender: %s\n", sd->info_sex); } -- cgit v1.2.3