shell32: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
af6c873b54
commit
915b69e2a7
|
@ -1408,7 +1408,7 @@ static void hook_WaitForInputIdle(void *new_func)
|
||||||
|
|
||||||
/* Search for the correct imported module by walking the import descriptors */
|
/* Search for the correct imported module by walking the import descriptors */
|
||||||
import_descriptor = (PIMAGE_IMPORT_DESCRIPTOR)(base + import_directory_rva);
|
import_descriptor = (PIMAGE_IMPORT_DESCRIPTOR)(base + import_directory_rva);
|
||||||
while (import_descriptor->OriginalFirstThunk != 0)
|
while (U(*import_descriptor).OriginalFirstThunk != 0)
|
||||||
{
|
{
|
||||||
char *import_module_name;
|
char *import_module_name;
|
||||||
|
|
||||||
|
@ -1423,7 +1423,7 @@ static void hook_WaitForInputIdle(void *new_func)
|
||||||
* arrays. We need the import name table to find the imported
|
* arrays. We need the import name table to find the imported
|
||||||
* routine and the import address table to patch the address, so
|
* routine and the import address table to patch the address, so
|
||||||
* walk them side by side */
|
* walk them side by side */
|
||||||
int_entry = (PIMAGE_THUNK_DATA)(base + import_descriptor->OriginalFirstThunk);
|
int_entry = (PIMAGE_THUNK_DATA)(base + U(*import_descriptor).OriginalFirstThunk);
|
||||||
iat_entry = (PIMAGE_THUNK_DATA)(base + import_descriptor->FirstThunk);
|
iat_entry = (PIMAGE_THUNK_DATA)(base + import_descriptor->FirstThunk);
|
||||||
while (int_entry->u1.Ordinal != 0)
|
while (int_entry->u1.Ordinal != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue