winedump: Cast-qual warnings fix (with thanks to Dmitry Timoshkov and Eric Pouech).
This commit is contained in:
parent
80294709c5
commit
89e139e17f
|
@ -2336,8 +2336,8 @@ typedef struct _IMAGE_SECTION_HEADER {
|
|||
#define IMAGE_SIZEOF_SECTION_HEADER 40
|
||||
|
||||
#define IMAGE_FIRST_SECTION(ntheader) \
|
||||
((PIMAGE_SECTION_HEADER)((LPBYTE)&((PIMAGE_NT_HEADERS)(ntheader))->OptionalHeader + \
|
||||
((PIMAGE_NT_HEADERS)(ntheader))->FileHeader.SizeOfOptionalHeader))
|
||||
((PIMAGE_SECTION_HEADER)(ULONG_PTR)((const BYTE *)&((const IMAGE_NT_HEADERS *)(ntheader))->OptionalHeader + \
|
||||
((const IMAGE_NT_HEADERS *)(ntheader))->FileHeader.SizeOfOptionalHeader))
|
||||
|
||||
/* These defines are for the Characteristics bitfield. */
|
||||
/* #define IMAGE_SCN_TYPE_REG 0x00000000 - Reserved */
|
||||
|
|
Loading…
Reference in New Issue