From f23a8bc8f5392b9dd57c1e4e997323e75aefe33e Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Wed, 18 Aug 2021 22:18:57 +0300 Subject: [PATCH] Update Shared.cpp --- module/Base/Shared.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/Base/Shared.cpp b/module/Base/Shared.cpp index 2f950c49..f6989d88 100644 --- a/module/Base/Shared.cpp +++ b/module/Base/Shared.cpp @@ -807,7 +807,7 @@ static SQInteger SqPackARGB(SQInteger r, SQInteger g, SQInteger b, SQInteger a) // ------------------------------------------------------------------------------------------------ static SQInteger SqNameFilterCheck(HSQUIRRELVM vm) { - const int32_t top = sq_gettop(vm); + SQInteger top = sq_gettop(vm); // Was the filter string specified? if (top <= 1) { @@ -1031,7 +1031,7 @@ const String CmpGE::FSTRV("Assertion failed. Value mismatch: {0} >= {1}"); // NO // ------------------------------------------------------------------------------------------------ static SQInteger SqNameFilterCheckInsensitive(HSQUIRRELVM vm) { - const int32_t top = sq_gettop(vm); + SQInteger top = sq_gettop(vm); // Was the filter string specified? if (top <= 1) {