aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorRobert Göffringmann2003-05-28 21:09:52 +0000
committerRobert Göffringmann2003-05-28 21:09:52 +0000
commitd4ac1044baf35f6a883fda9e593a22dc3dab17f5 (patch)
tree3eaa3d991cee9bb216665eb7193a52d3d71ac4d0 /sky
parent52723beaf08269e6722adae6fd3397a50e055bac (diff)
downloadscummvm-rg350-d4ac1044baf35f6a883fda9e593a22dc3dab17f5.tar.gz
scummvm-rg350-d4ac1044baf35f6a883fda9e593a22dc3dab17f5.tar.bz2
scummvm-rg350-d4ac1044baf35f6a883fda9e593a22dc3dab17f5.zip
fixes gcc compiler warning
svn-id: r8061
Diffstat (limited to 'sky')
-rw-r--r--sky/disk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp
index 5c59330db8..8f755bb878 100644
--- a/sky/disk.cpp
+++ b/sky/disk.cpp
@@ -292,7 +292,7 @@ void SkyDisk::fnCacheFiles(void) {
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 @@ void SkyDisk::fnCacheFiles(void) {
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) {