summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/json/parser/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c
index 1e6ee753f0..496a769206 100644
--- a/ext/json/parser/parser.c
+++ b/ext/json/parser/parser.c
@@ -975,7 +975,7 @@ static inline bool FORCE_INLINE string_scan(JSON_ParserState *state)
if (RB_UNLIKELY(string_scan_table[(unsigned char)*state->cursor])) {
return 1;
}
- *state->cursor++;
+ state->cursor++;
}
return 0;
}