From 775386459972b43308de3f82edf75660ad5e2161 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 9 Dec 2005 22:23:55 +0000 Subject: Fix warning svn-id: r19768 --- sky/disk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sky') 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; -- cgit v1.2.3