From fdf828cfc36053dff84e29c07f37457c48293d83 Mon Sep 17 00:00:00 2001 From: Christoph Sommer Date: Tue, 17 Apr 2007 17:01:49 +0000 Subject: [PATCH] Tried fixing squirrel utils for 64bit: SQInteger is a long, which is longer than an int on 64 bit SVN-Revision: 4994 --- src/scripting/squirrel_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/squirrel_util.cpp b/src/scripting/squirrel_util.cpp index d3fde6db3..5f2e3f3b8 100644 --- a/src/scripting/squirrel_util.cpp +++ b/src/scripting/squirrel_util.cpp @@ -475,7 +475,7 @@ int read_int(HSQUIRRELVM vm, const char* name) throw Scripting::SquirrelError(vm, msg.str()); } - int result; + SQInteger result; if(SQ_FAILED(sq_getinteger(vm, -1, &result))) { std::ostringstream msg; msg << "Couldn't get int value for '" << name << "' from table"; -- 2.11.0