mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Don't cast pointers to int, this (potentially) breaks 64 bit systems
svn-id: r26806
This commit is contained in:
parent
ed796d164a
commit
a7ced58d9a
@ -1083,8 +1083,7 @@ void checkCollisionWithWalkBoxesBoundingBoxes(int x, int y) {
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user