From 4eb368c786893e3607341bae35aec6dde5def6b0 Mon Sep 17 00:00:00 2001 From: Loïc Guilloux Date: Tue, 10 Aug 2021 19:00:54 +0200 Subject: Fix 14f197c: [Script] int64 values don't fit into int (#9465) --- src/script/api/script_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script') diff --git a/src/script/api/script_list.cpp b/src/script/api/script_list.cpp index 623128bdd..f56326704 100644 --- a/src/script/api/script_list.cpp +++ b/src/script/api/script_list.cpp @@ -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; -- cgit v1.2.3-54-g00ecf