[Scummvm-cvs-logs] CVS: scummvm/sky disk.cpp,1.23,1.24

Robert G?ffringmann lavosspawn at users.sourceforge.net
Wed May 28 14:10:05 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv21324/sky

Modified Files:
	disk.cpp 
Log Message:
fixes gcc compiler warning

Index: disk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/disk.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- disk.cpp	28 May 2003 20:55:24 -0000	1.23
+++ disk.cpp	28 May 2003 21:09:52 -0000	1.24
@@ -292,7 +292,7 @@
 		bCnt = 0;
 		found = false;
 		while (_buildList[bCnt] && (!found)) {
-			if ((_buildList[bCnt] & 0x7FFF) == _loadedFilesList[lCnt]) found = true;
+			if ((_buildList[bCnt] & 0x7FFFU) == _loadedFilesList[lCnt]) found = true;
 			else bCnt++;
 		}
 		if (found) {
@@ -315,7 +315,7 @@
 		lCnt = 0;
 		found = false;
 		while (_loadedFilesList[lCnt] && (!found)) {
-			if (_loadedFilesList[lCnt] == (_buildList[bCnt] & 0x7FFF)) found = true;
+			if (_loadedFilesList[lCnt] == (_buildList[bCnt] & 0x7FFFU)) found = true;
             lCnt++;
 		}
 		if (found) {





More information about the Scummvm-git-logs mailing list