From c227e6c964abab0c86c9a5f17ef07a8d39235e38 Mon Sep 17 00:00:00 2001 From: Patrix Date: Sun, 16 Apr 2023 22:25:40 +0200 Subject: [PATCH] Updated SqRat to Squirrel 3.2 version #2 --- dependencies/sqrat/include/sqrat/sqratFunction.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies/sqrat/include/sqrat/sqratFunction.h b/dependencies/sqrat/include/sqrat/sqratFunction.h index cf76c63..e7149e3 100644 --- a/dependencies/sqrat/include/sqrat/sqratFunction.h +++ b/dependencies/sqrat/include/sqrat/sqratFunction.h @@ -1369,8 +1369,8 @@ public: sq_pushobject(vm, env); #if !defined (SCRAT_NO_ERROR_CHECKING) - SQUnsignedInteger nparams; - SQUnsignedInteger nfreevars; + SQInteger nparams; + SQInteger nfreevars; if (obj._type != OT_NATIVECLOSURE && SQ_SUCCEEDED(sq_getclosureinfo(vm, -2, &nparams, &nfreevars)) && (nparams != 3)) { sq_pop(vm, 2);