summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 60288a7ce3..922d4fceaf 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -5192,7 +5192,7 @@ PHP_FUNCTION(substr_count)
char *haystack, *needle;
zend_long offset = 0, length = 0;
int ac = ZEND_NUM_ARGS();
- int count = 0;
+ zend_long count = 0;
size_t haystack_len, needle_len;
char *p, *endp, cmp;