Workaround a buggy UINT_PTR definition in the include\host\typedefs.h for 64-bit *nix hosts.

svn path=/trunk/; revision=32609
This commit is contained in:
Filip Navara 2008-03-08 11:50:58 +00:00
parent 017bb6a507
commit 0b0d237b03

View file

@ -207,7 +207,7 @@ static void load_next_resource( DLLSPEC *spec )
res->data = file_pos - 2*sizeof(DWORD) + hdr_size;
get_string( &res->type );
get_string( &res->name );
if ((UINT_PTR)file_pos & 2) get_word(); /* align to dword boundary */
if ((ULONG_PTR)file_pos & 2) get_word(); /* align to dword boundary */
get_dword(); /* skip data version */
get_word(); /* skip mem options */
res->lang = get_word();