mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 01:48:44 +00:00
Fixed: Big endian number
--HG-- branch : develop
This commit is contained in:
parent
92fe9a6554
commit
f0bfd6264e
1 changed files with 4 additions and 0 deletions
|
@ -1511,6 +1511,10 @@ bool CClientEditionModule::loadUserComponent(const std::string& filename, bool m
|
||||||
nlwarning("Error while reading %s", filename.c_str());
|
nlwarning("Error while reading %s", filename.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NL_BIG_ENDIAN
|
||||||
|
NLMISC_BSWAP32(uncompressedFileLength);
|
||||||
|
#endif
|
||||||
|
|
||||||
fclose(file);
|
fclose(file);
|
||||||
|
|
||||||
// Test if data are not too big
|
// Test if data are not too big
|
||||||
|
|
Loading…
Reference in a new issue