Fix 14f197c: [Script] int64 values don't fit into int (#9465)

pull/332/head
Loïc Guilloux 3 years ago committed by GitHub
parent 8706dcd9c1
commit 4eb368c786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -832,7 +832,7 @@ SQInteger ScriptList::_nexti(HSQUIRRELVM vm)
SQInteger idx;
sq_getinteger(vm, 2, &idx);
int val = this->Next();
SQInteger val = this->Next();
if (this->IsEnd()) {
sq_pushnull(vm);
return 1;

Loading…
Cancel
Save