summaryrefslogtreecommitdiff
path: root/ext/json/json_scanner.re
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/json_scanner.re')
-rw-r--r--ext/json/json_scanner.re2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/json_scanner.re b/ext/json/json_scanner.re
index 03ccdde58b..c8e3e0ebf5 100644
--- a/ext/json/json_scanner.re
+++ b/ext/json/json_scanner.re
@@ -168,7 +168,7 @@ std:
return PHP_JSON_T_FALSE;
}
<JS>INT {
- zend_bool bigint = 0, negative = s->token[0] == '-';
+ bool bigint = 0, negative = s->token[0] == '-';
size_t digits = (size_t) (s->cursor - s->token - negative);
if (digits >= PHP_JSON_INT_MAX_LENGTH) {
if (digits == PHP_JSON_INT_MAX_LENGTH) {