[Scummvm-cvs-logs] SF.net SVN: scummvm: [26806] scummvm/trunk/engines/cruise/function.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat May 12 15:39:54 CEST 2007
Revision: 26806
http://scummvm.svn.sourceforge.net/scummvm/?rev=26806&view=rev
Author: fingolfin
Date: 2007-05-12 06:39:53 -0700 (Sat, 12 May 2007)
Log Message:
-----------
Don't cast pointers to int, this (potentially) breaks 64 bit systems
Modified Paths:
--------------
scummvm/trunk/engines/cruise/function.cpp
Modified: scummvm/trunk/engines/cruise/function.cpp
===================================================================
--- scummvm/trunk/engines/cruise/function.cpp 2007-05-12 12:58:04 UTC (rev 26805)
+++ scummvm/trunk/engines/cruise/function.cpp 2007-05-12 13:39:53 UTC (rev 26806)
@@ -1083,8 +1083,7 @@
ctpVar19SubStruct *subStruct;
- if (-1 == (int)di->field_0) // ok, ugly, but it's in the original
- {
+ if ((ctpVar19Struct *)-1 == di->field_0) { // ok, ugly, but it's in the original
flag_obstacle = 0;
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list