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/intl/spoofchecker | |
parent | ee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff) | |
download | php-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz |
first show to make 's' work with size_t
Diffstat (limited to 'ext/intl/spoofchecker')
-rw-r--r-- | ext/intl/spoofchecker/spoofchecker_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/intl/spoofchecker/spoofchecker_main.c b/ext/intl/spoofchecker/spoofchecker_main.c index 64c641ae10..e5d11a899e 100644 --- a/ext/intl/spoofchecker/spoofchecker_main.c +++ b/ext/intl/spoofchecker/spoofchecker_main.c @@ -28,7 +28,7 @@ PHP_METHOD(Spoofchecker, isSuspicious) { int ret; char *text; - int text_len; + size_t text_len; zval *error_code = NULL; SPOOFCHECKER_METHOD_INIT_VARS; @@ -60,7 +60,7 @@ PHP_METHOD(Spoofchecker, areConfusable) { int ret; char *s1, *s2; - int s1_len, s2_len; + size_t s1_len, s2_len; zval *error_code = NULL; SPOOFCHECKER_METHOD_INIT_VARS; @@ -92,7 +92,7 @@ PHP_METHOD(Spoofchecker, areConfusable) PHP_METHOD(Spoofchecker, setAllowedLocales) { char *locales; - int locales_len; + size_t locales_len; SPOOFCHECKER_METHOD_INIT_VARS; if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &locales, &locales_len)) { |