From a0269a6a7271f7bc3d3355710f19649716c67d14 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Fri, 21 May 2010 23:29:34 +0000 Subject: Ooops, return values... --- ext/json/php_json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/json/php_json.h') diff --git a/ext/json/php_json.h b/ext/json/php_json.h index 7b67c10d2f..fd5287c0e5 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -68,7 +68,7 @@ extern zend_class_entry *php_json_serializable_ce; #define PHP_JSON_OBJECT_AS_ARRAY (1<<0) #define PHP_JSON_BIGINT_AS_STRING (1<<1) -static inline php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) +static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) { php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_CC); } -- cgit v1.2.1