]> granicus.if.org Git - php/commitdiff
fix signature
authorAnatol Belski <ab@php.net>
Wed, 27 Aug 2014 20:05:26 +0000 (22:05 +0200)
committerAnatol Belski <ab@php.net>
Wed, 27 Aug 2014 20:05:26 +0000 (22:05 +0200)
ext/json/php_json.h

index 59d65ec3c8018e38a5b8e9ae9b4c71b40a877d4a..1a4fb1703baee46a28cfdbbcff59893cc4854e71 100644 (file)
@@ -50,7 +50,7 @@ ZEND_END_MODULE_GLOBALS(json)
 #endif
 
 PHP_JSON_API void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC);
-PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len, int options, zend_long depth TSRMLS_DC);
+PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, int options, zend_long depth TSRMLS_DC);
 extern PHP_JSON_API zend_class_entry *php_json_serializable_ce;