summaryrefslogtreecommitdiff
path: root/ext/standard/url_scanner_ex.re
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-04-16 21:40:48 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-04-16 21:40:48 +0000
commit0c5548e636ba3e9831f482ce236d05844e3a0a85 (patch)
tree7cb0db577d0f45e45fc97440d1cc14c89d7671d8 /ext/standard/url_scanner_ex.re
parent0ad2fc2007eaf12c9081b2bcd655ed138998711f (diff)
downloadphp-git-0c5548e636ba3e9831f482ce236d05844e3a0a85.tar.gz
Fixed implicit cast issue with is*() and to*() functions
Diffstat (limited to 'ext/standard/url_scanner_ex.re')
-rw-r--r--ext/standard/url_scanner_ex.re2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re
index a22bc7a2bf..7f85c06b38 100644
--- a/ext/standard/url_scanner_ex.re
+++ b/ext/standard/url_scanner_ex.re
@@ -236,7 +236,7 @@ static inline void handle_tag(STD_PARA)
ctx->tag.len = 0;
smart_str_appendl(&ctx->tag, start, YYCURSOR - start);
for (i = 0; i < ctx->tag.len; i++)
- ctx->tag.c[i] = tolower(ctx->tag.c[i]);
+ ctx->tag.c[i] = tolower((int)(unsigned char)ctx->tag.c[i]);
if (zend_hash_find(ctx->tags, ctx->tag.c, ctx->tag.len, (void **) &ctx->lookup_data) == SUCCESS)
ok = 1;
STATE = ok ? STATE_NEXT_ARG : STATE_PLAIN;