diff options
-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) { |