summaryrefslogtreecommitdiff
path: root/ext/standard/levenshtein.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/levenshtein.c')
-rw-r--r--ext/standard/levenshtein.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/levenshtein.c b/ext/standard/levenshtein.c
index 03e7e0075d..14d75bf571 100644
--- a/ext/standard/levenshtein.c
+++ b/ext/standard/levenshtein.c
@@ -94,7 +94,7 @@ PHP_FUNCTION(levenshtein)
int argc = ZEND_NUM_ARGS();
char *str1, *str2;
char *callback_name;
- int str1_len, str2_len, callback_len;
+ size_t str1_len, str2_len, callback_len;
zend_long cost_ins, cost_rep, cost_del;
int distance = -1;