Tried fixing squirrel utils for 64bit: SQInteger is a long, which is longer than...
authorChristoph Sommer <mail@christoph-sommer.de>
Tue, 17 Apr 2007 17:01:49 +0000 (17:01 +0000)
committerChristoph Sommer <mail@christoph-sommer.de>
Tue, 17 Apr 2007 17:01:49 +0000 (17:01 +0000)
SVN-Revision: 4994

src/scripting/squirrel_util.cpp

index d3fde6d..5f2e3f3 100644 (file)
@@ -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";