[Scummvm-cvs-logs] CVS: scummvm/queen walk.cpp,1.41,1.42

Pawel Kolodziejski aquadran at users.sourceforge.net
Sun Jan 18 12:22:00 CET 2004


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv16113

Modified Files:
	walk.cpp 
Log Message:
fix warning

Index: walk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/walk.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- walk.cpp	16 Jan 2004 15:51:23 -0000	1.41
+++ walk.cpp	18 Jan 2004 20:21:13 -0000	1.42
@@ -454,7 +454,7 @@
 	// original game, Joe will go to the left door...
 	uint16 i;
 	uint16 pos = 1;
-	uint32 minDist = ~0;
+	uint32 minDist = (uint32)~0;
 	const Box *b = &_roomArea[1].box;
 	for (i = 1; i <= _roomAreaCount; ++i) {
 





More information about the Scummvm-git-logs mailing list