aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorMax Horn2005-12-09 22:23:55 +0000
committerMax Horn2005-12-09 22:23:55 +0000
commit775386459972b43308de3f82edf75660ad5e2161 (patch)
tree8584a6ca6d3165d0d617fa51b151bbc00de25e08 /sky
parent3107d08f271f9606210dca05db72ace13fe37afc (diff)
downloadscummvm-rg350-775386459972b43308de3f82edf75660ad5e2161.tar.gz
scummvm-rg350-775386459972b43308de3f82edf75660ad5e2161.tar.bz2
scummvm-rg350-775386459972b43308de3f82edf75660ad5e2161.zip
Fix warning
svn-id: r19768
Diffstat (limited to 'sky')
-rw-r--r--sky/disk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp
index a14b94b341..1b08987ced 100644
--- a/sky/disk.cpp
+++ b/sky/disk.cpp
@@ -176,7 +176,7 @@ uint8 *Disk::loadFile(uint16 fileNr) {
uint16 *Disk::loadScriptFile(uint16 fileNr) {
uint16 *buf = (uint16*)loadFile(fileNr);
#ifdef SCUMM_BIG_ENDIAN
- for (int i = 0; i < _lastLoadedFileSize / 2; i++)
+ for (uint i = 0; i < _lastLoadedFileSize / 2; i++)
buf[i] = FROM_LE_16(buf[i]);
#endif
return buf;