winedump: Cast-qual warnings fix

Andrew Talbot Andrew.Talbot at
Wed Oct 11 14:49:00 CDT 2006

Eric Pouech wrote:

> actually, this would be better written as:
> IMAGE_NT_HEADERS*)(ntheader))->OptionalHeader + \
>                            ((const
> IMAGE_NT_HEADERS*)(ntheader))->FileHeader.SizeOfOptionalHeader))

Hi Eric,

I'm not seeing too many LPCBYTEs in the code base, but I reckon const BYTE *
fits the bill. Why do you prefer DWORD_PTR over ULONG_PTR?


-- Andy.

More information about the wine-devel mailing list