diff options
author | bjasspa <bjasspa@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-07-01 13:20:26 +0000 |
---|---|---|
committer | bjasspa <bjasspa@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-07-01 13:20:26 +0000 |
commit | fe99c6efbc8eb576afec3256a1fa8e3aff2663a2 (patch) | |
tree | 2de5cfae632a0119e766dedb4e1f32a9493f9774 /navit/support | |
parent | 9af330d4d6dbc1670c5cf96a30ebb3ed429c5335 (diff) | |
download | navit-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.c | 2 |
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 |