diff options
author | Zeev Suraski <zeev@php.net> | 2002-08-19 20:47:42 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2002-08-19 20:47:42 +0000 |
commit | df4fdeb54e8b1ebb00ffd53e69e2b5572f8433d2 (patch) | |
tree | b70c6ed333bd7e17ce182d2676c6478cc596e754 /ext/standard/reg.c | |
parent | bed405cce477c4a20a6c2aca6447b0700c96406a (diff) | |
download | php-git-df4fdeb54e8b1ebb00ffd53e69e2b5572f8433d2.tar.gz |
Fix a warning
Diffstat (limited to 'ext/standard/reg.c')
-rw-r--r-- | ext/standard/reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/reg.c b/ext/standard/reg.c index 13e06ba3cc..9b8513e380 100644 --- a/ext/standard/reg.c +++ b/ext/standard/reg.c @@ -342,7 +342,7 @@ PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const cha while (*walk) if ('\\' == *walk && '0' <= walk[1] && '9' >= walk[1] - && walk[1] - '0' <= re.re_nsub + && walk[1] - '0' <= ((char) re.re_nsub) && subs[walk[1] - '0'].rm_so > -1 && subs[walk[1] - '0'].rm_eo > -1) { new_l += subs[walk[1] - '0'].rm_eo |