summaryrefslogtreecommitdiff
path: root/ext/intl/spoofchecker
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-27 15:31:48 +0200
committerAnatol Belski <ab@php.net>2014-08-27 20:49:31 +0200
commit3234480827b27ff5d3469a732167afd289632a96 (patch)
tree485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/intl/spoofchecker
parentee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff)
downloadphp-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.c6
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)) {