diff options
author | Anatol Belski <ab@php.net> | 2014-09-14 21:38:46 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-14 21:38:46 +0200 |
commit | a7482fd2bf340e03b5c5c5ac4f94aacdabccb1ce (patch) | |
tree | 1ea0de3e76bfec03f761cc82728e4972c2e32da3 /ext/xml/php_xml.h | |
parent | 90972355b3d23e8c099e119cb7b2e0fbb463beab (diff) | |
download | php-git-a7482fd2bf340e03b5c5c5ac4f94aacdabccb1ce.tar.gz |
make xml_utf8_ encode/decode work with size_t
Diffstat (limited to 'ext/xml/php_xml.h')
-rw-r--r-- | ext/xml/php_xml.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h index 0195bb5836..35e61b506a 100644 --- a/ext/xml/php_xml.h +++ b/ext/xml/php_xml.h @@ -134,8 +134,8 @@ PHP_FUNCTION(utf8_decode); PHP_FUNCTION(xml_parse_into_struct); PHPAPI char *_xml_zval_strdup(zval *); -PHPAPI zend_string *xml_utf8_decode(const XML_Char *, int, const XML_Char *); -PHPAPI zend_string *xml_utf8_encode(const char *, int, const XML_Char *); +PHPAPI zend_string *xml_utf8_decode(const XML_Char *, size_t, const XML_Char *); +PHPAPI zend_string *xml_utf8_encode(const char *, size_t, const XML_Char *); #endif /* HAVE_LIBEXPAT */ |