Fix warning

svn-id: r19768
This commit is contained in:
Max Horn 2005-12-09 22:23:55 +00:00
parent 3107d08f27
commit 7753864599

View File

@ -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;