diff options
author | Anatol Belski <ab@php.net> | 2014-08-27 19:25:28 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-27 20:49:36 +0200 |
commit | 6db8d4f829553f61822a794f94c55270e5478a13 (patch) | |
tree | 03a63a6e8bf452020d20b1963dd064fed95dc446 /ext/gettext | |
parent | bdc4f235179abb3f1fac08144a875d3cc9e0a242 (diff) | |
download | php-git-6db8d4f829553f61822a794f94c55270e5478a13.tar.gz |
's' works with size_t round 3
Diffstat (limited to 'ext/gettext')
-rw-r--r-- | ext/gettext/gettext.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c index 8466349578..3f1909e753 100644 --- a/ext/gettext/gettext.c +++ b/ext/gettext/gettext.c @@ -205,7 +205,7 @@ PHP_NAMED_FUNCTION(zif_gettext) PHP_NAMED_FUNCTION(zif_dgettext) { char *domain, *msgid, *msgstr; - int domain_len, msgid_len; + size_t domain_len, msgid_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &domain, &domain_len, &msgid, &msgid_len) == FAILURE) { return; @@ -225,7 +225,7 @@ PHP_NAMED_FUNCTION(zif_dgettext) PHP_NAMED_FUNCTION(zif_dcgettext) { char *domain, *msgid, *msgstr; - int domain_len, msgid_len; + size_t domain_len, msgid_len; zend_long category; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssl", &domain, &domain_len, &msgid, &msgid_len, &category) == FAILURE) { @@ -246,7 +246,7 @@ PHP_NAMED_FUNCTION(zif_dcgettext) PHP_NAMED_FUNCTION(zif_bindtextdomain) { char *domain, *dir; - int domain_len, dir_len; + size_t domain_len, dir_len; char *retval, dir_name[MAXPATHLEN]; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &domain, &domain_len, &dir, &dir_len) == FAILURE) { @@ -304,7 +304,7 @@ PHP_NAMED_FUNCTION(zif_ngettext) PHP_NAMED_FUNCTION(zif_dngettext) { char *domain, *msgid1, *msgid2, *msgstr = NULL; - int domain_len, msgid1_len, msgid2_len; + size_t domain_len, msgid1_len, msgid2_len; zend_long count; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sssl", &domain, &domain_len, @@ -330,7 +330,7 @@ PHP_NAMED_FUNCTION(zif_dngettext) PHP_NAMED_FUNCTION(zif_dcngettext) { char *domain, *msgid1, *msgid2, *msgstr = NULL; - int domain_len, msgid1_len, msgid2_len; + size_t domain_len, msgid1_len, msgid2_len; zend_long count, category; RETVAL_FALSE; |