mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
One more MSVC warning.
This commit is contained in:
parent
4bb57550c8
commit
7c35acca75
@ -973,8 +973,8 @@ static Janet parser_state_frames(const JanetParser *p) {
|
|||||||
Janet *args = p->args;
|
Janet *args = p->args;
|
||||||
for (int32_t i = count - 1; i >= 0; --i) {
|
for (int32_t i = count - 1; i >= 0; --i) {
|
||||||
JanetParseState *s = p->states + i;
|
JanetParseState *s = p->states + i;
|
||||||
states->data[i] = janet_wrap_parse_state(s, args, buf, p->bufcount);
|
states->data[i] = janet_wrap_parse_state(s, args, buf, (uint32_t) p->bufcount);
|
||||||
args -= (ptrdiff_t) s->argn;
|
args -= s->argn;
|
||||||
}
|
}
|
||||||
return janet_wrap_array(states);
|
return janet_wrap_array(states);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user