diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-01-11 23:05:19 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-01-11 23:05:19 +0000 |
commit | 7fa0970567054097edec1e2b95a47f0b51bd9afe (patch) | |
tree | 601d768e2825b0d9920de950d3f02d3ec7c2bac2 /ext/ereg | |
parent | dd9b7f25cfe824a5e7cd3e93e09ae848b1be9a00 (diff) | |
download | php-git-7fa0970567054097edec1e2b95a47f0b51bd9afe.tar.gz |
Reverted because correct decision has not been made yet.
Diffstat (limited to 'ext/ereg')
-rw-r--r-- | ext/ereg/ereg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c index 2f1740e281..791b215d2f 100644 --- a/ext/ereg/ereg.c +++ b/ext/ereg/ereg.c @@ -605,7 +605,7 @@ PHPAPI PHP_FUNCTION(sql_regcase) tmp = emalloc((Z_STRLEN_PP(string) * 4) + 1); - for (i = j = 0; i < (int)Z_STRLEN_PP(string); i++) { + for (i = j = 0; i < Z_STRLEN_PP(string); i++) { c = (unsigned char) Z_STRVAL_PP(string)[i]; if(isalpha(c)) { tmp[j++] = '['; |