From: Christoph Sommer Date: Tue, 17 Apr 2007 17:01:49 +0000 (+0000) Subject: Tried fixing squirrel utils for 64bit: SQInteger is a long, which is longer than... X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=fdf828cfc36053dff84e29c07f37457c48293d83;p=supertux.git Tried fixing squirrel utils for 64bit: SQInteger is a long, which is longer than an int on 64 bit SVN-Revision: 4994 --- 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";