summaryrefslogtreecommitdiff
path: root/ext/ereg
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-12-22 03:04:32 +0000
committerZeev Suraski <zeev@php.net>2001-12-22 03:04:32 +0000
commit431c793e0c2912d089b1987806d14e0b3343879f (patch)
treee848f2734395f95c9f211415af01cb18f802a855 /ext/ereg
parent2f8284ca0ad15cbca98602b09067602e68ba46cc (diff)
downloadphp-git-431c793e0c2912d089b1987806d14e0b3343879f.tar.gz
Fix a warning
Diffstat (limited to 'ext/ereg')
-rw-r--r--ext/ereg/ereg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c
index 11f74b97a7..6bdf1c06e0 100644
--- a/ext/ereg/ereg.c
+++ b/ext/ereg/ereg.c
@@ -156,7 +156,8 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
**array = NULL; /* Optional register array */
regex_t re;
regmatch_t *subs;
- int err, i, match_len, string_len;
+ int err, match_len, string_len;
+ uint i;
int copts = 0;
off_t start, end;
char *buf = NULL;