aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-02-22 18:09:38 +0000
committerMax Horn2005-02-22 18:09:38 +0000
commit457ee7f58252d1e86bd2404dbb823968bfbaaea7 (patch)
treee3b2087f7be5d6c64f470b2e94a2d2c1b100cbfd
parent99f54b437d810ea527a6ca89cb387d786e6276f4 (diff)
downloadscummvm-rg350-457ee7f58252d1e86bd2404dbb823968bfbaaea7.tar.gz
scummvm-rg350-457ee7f58252d1e86bd2404dbb823968bfbaaea7.tar.bz2
scummvm-rg350-457ee7f58252d1e86bd2404dbb823968bfbaaea7.zip
Fix compilation on BE systems
svn-id: r16861
-rw-r--r--sword2/resman.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}