From ac41608797d7d9258d3ccbf35a0ee55631d157ee Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Sun, 14 May 2023 22:10:23 +0200 Subject: [PATCH] Fix -Wenum-int-mismatch warning in ext/json/php_json_encoder.h --- ext/json/php_json_encoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/json/php_json_encoder.h b/ext/json/php_json_encoder.h index 3174e779581..d66d71cb553 100644 --- a/ext/json/php_json_encoder.h +++ b/ext/json/php_json_encoder.h @@ -35,6 +35,6 @@ static inline void php_json_encode_init(php_json_encoder *encoder) zend_result php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder); -int php_json_escape_string(smart_str *buf, const char *s, size_t len, int options, php_json_encoder *encoder); +zend_result php_json_escape_string(smart_str *buf, const char *s, size_t len, int options, php_json_encoder *encoder); #endif /* PHP_JSON_ENCODER_H */