summaryrefslogtreecommitdiff
path: root/navit/support
diff options
context:
space:
mode:
authorbjasspa <bjasspa@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-07-01 13:20:26 +0000
committerbjasspa <bjasspa@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-07-01 13:20:26 +0000
commitfe99c6efbc8eb576afec3256a1fa8e3aff2663a2 (patch)
tree2de5cfae632a0119e766dedb4e1f32a9493f9774 /navit/support
parent9af330d4d6dbc1670c5cf96a30ebb3ed429c5335 (diff)
downloadnavit-fe99c6efbc8eb576afec3256a1fa8e3aff2663a2.tar.gz
Minor fix to isspace call, type cast to unsigned char
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5172 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/support')
-rw-r--r--navit/support/ezxml/ezxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/support/ezxml/ezxml.c b/navit/support/ezxml/ezxml.c
index 4ade3a5f2..991268fd6 100644
--- a/navit/support/ezxml/ezxml.c
+++ b/navit/support/ezxml/ezxml.c
@@ -175,7 +175,7 @@ char *ezxml_decode(char *s, char **ent, char t)
}
for (s = r; ; ) {
- while (*s && *s != '&' && (*s != '%' || t != '%') && !isspace(*s)) s++;
+ while (*s && *s != '&' && (*s != '%' || t != '%') && !isspace((unsigned char)(*s))) s++;
if (! *s) break;
else if (t != 'c' && ! strncmp(s, "&#", 2)) { // character reference