fixed bug #1851365 - mac os x leopard build and run fails - endian issues

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5398 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-12-15 15:28:38 +00:00
parent 4d0a2e3733
commit 4690383071
2 changed files with 3 additions and 0 deletions

View file

@ -115,6 +115,8 @@ IconGroup load_icon_file(const char* filename)
throw runtime_error("unable to read offset from file");
}
FIX_ENDIAN_INT32_INPLACE(iconOffset);
fpos_t pos;
fgetpos(file, &pos);