Skip to content

Commit b5e5a01

Browse files
committed
json.c - fix parameter type passed to print fnction
1 parent d55103e commit b5e5a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static zend_string *php_json_get_error_msg_with_location(php_json_error_code err
186186
const char *base_msg = php_json_get_error_msg(error_code);
187187

188188
if (line > 0 && column > 0) {
189-
return zend_strpprintf(0, "%s near location %u,%u", base_msg, line, column);
189+
return zend_strpprintf(0, "%s near location %zu,%zu", base_msg, line, column);
190190
}
191191

192192
return zend_string_init(base_msg, strlen(base_msg), 0);

0 commit comments

Comments
 (0)