From 457ee7f58252d1e86bd2404dbb823968bfbaaea7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 22 Feb 2005 18:09:38 +0000 Subject: Fix compilation on BE systems svn-id: r16861 --- sword2/resman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword2') diff --git a/sword2/resman.cpp b/sword2/resman.cpp index a83471ffbb..9b80689151 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -599,7 +599,7 @@ void ResourceManager::readCluIndex(uint16 fileNum, File *file) { error("unable to read index table from file %s\n", _resFiles[fileNum].fileName); #ifdef SCUMM_BIG_ENDIAN for (int tabCnt = 0; tabCnt < _resFiles[fileNum].numEntries * 2; tabCnt++) - _resFiles[fileNum].entryTab[tabCnt] = FROM_LE_UINT32(_resFiles[fileNum].entryTab[tabCnt]); + _resFiles[fileNum].entryTab[tabCnt] = FROM_LE_32(_resFiles[fileNum].entryTab[tabCnt]); #endif file->decRef(); } -- cgit v1.2.3