diff options
author | Robert Göffringmann | 2003-05-28 21:09:52 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-05-28 21:09:52 +0000 |
commit | d4ac1044baf35f6a883fda9e593a22dc3dab17f5 (patch) | |
tree | 3eaa3d991cee9bb216665eb7193a52d3d71ac4d0 /sky | |
parent | 52723beaf08269e6722adae6fd3397a50e055bac (diff) | |
download | scummvm-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.cpp | 4 |
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) { |