Skip to content

Commit ac41608

Browse files
committed
Fix -Wenum-int-mismatch warning in ext/json/php_json_encoder.h
1 parent 03f64b7 commit ac41608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/php_json_encoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ static inline void php_json_encode_init(php_json_encoder *encoder)
3535

3636
zend_result php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder);
3737

38-
int php_json_escape_string(smart_str *buf, const char *s, size_t len, int options, php_json_encoder *encoder);
38+
zend_result php_json_escape_string(smart_str *buf, const char *s, size_t len, int options, php_json_encoder *encoder);
3939

4040
#endif /* PHP_JSON_ENCODER_H */

0 commit comments

Comments
 (0)