diff --git a/src/switch_xml.c b/src/switch_xml.c index dce72ba71c..a66e74706b 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -490,7 +490,7 @@ static char *switch_xml_decode(char *s, char **ent, char t) } for (s = r;;) { - while (*s && *s != '&' && (*s != '%' || t != '%') && !isspace((int) (*s))) + while (*s && *s != '&' && (*s != '%' || t != '%') && !isspace((unsigned char) (*s))) s++; if (!*s)