Fix -Wenum-int-mismatch warning in ext/json/php_json_encoder.h

This commit is contained in:
Ilija Tovilo 2023-05-14 22:10:23 +02:00
parent 03f64b7853
commit ac41608797
No known key found for this signature in database
GPG key ID: A4F5D403F118200A

View file

@ -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); 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 */ #endif /* PHP_JSON_ENCODER_H */