mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 17:02:13 +00:00
Fix compiler warning.
This commit is contained in:
parent
0bc384f0f7
commit
5d617e5002
|
@ -566,8 +566,8 @@ HMODULE PE_LoadImage( HFILE hFile, OFSTRUCT *ofs, LPCSTR *modName )
|
|||
if ( nt->OptionalHeader.ImageBase & 0x80000000 )
|
||||
{
|
||||
HMODULE sharedMod = (HMODULE)nt->OptionalHeader.ImageBase;
|
||||
IMAGE_NT_HEADERS *sharedNt = (LPBYTE)sharedMod
|
||||
+ ((LPBYTE)nt - (LPBYTE)hModule);
|
||||
IMAGE_NT_HEADERS *sharedNt = (PIMAGE_NT_HEADERS)
|
||||
( (LPBYTE)sharedMod + ((LPBYTE)nt - (LPBYTE)hModule) );
|
||||
|
||||
/* Well, this check is not really comprehensive,
|
||||
but should be good enough for now ... */
|
||||
|
|
Loading…
Reference in a new issue