diff options
author | Anatol Belski <ab@php.net> | 2014-08-27 15:31:48 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-27 20:49:31 +0200 |
commit | 3234480827b27ff5d3469a732167afd289632a96 (patch) | |
tree | 485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/standard/levenshtein.c | |
parent | ee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff) | |
download | php-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz |
first show to make 's' work with size_t
Diffstat (limited to 'ext/standard/levenshtein.c')
-rw-r--r-- | ext/standard/levenshtein.c | 2 |
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; |