aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;