Commit 17bccc86 authored by Alexandre Julliard's avatar Alexandre Julliard

imagehlp/tests: Use nameless unions/structs.

parent 8fe23255
......@@ -19,7 +19,6 @@
#include <stdio.h>
#include <stdarg.h>
#define NONAMELESSUNION
#include <windef.h>
#include <winbase.h>
#include <winver.h>
......@@ -234,8 +233,8 @@ static const struct expected_blob b1[] = {
{sizeof(bin.nt_headers), &bin.nt_headers},
{sizeof(bin.sections), &bin.sections},
{FILE_IDATA-FILE_TEXT, &bin.text_section},
{sizeof(bin.idata_section.descriptors[0].u.OriginalFirstThunk),
&bin.idata_section.descriptors[0].u.OriginalFirstThunk},
{sizeof(bin.idata_section.descriptors[0].OriginalFirstThunk),
&bin.idata_section.descriptors[0].OriginalFirstThunk},
{FIELD_OFFSET(struct Imports, thunks)-
(FIELD_OFFSET(struct Imports, descriptors)+FIELD_OFFSET(IMAGE_IMPORT_DESCRIPTOR, Name)),
&bin.idata_section.descriptors[0].Name},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment