Commit 82efaae0 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

imagehlp: Use define instead of hardcoded value.

parent 682dc4d6
......@@ -77,7 +77,7 @@ static int IMAGEHLP_GetNTHeaders(HANDLE handle, DWORD *pe_offset, IMAGE_NT_HEADE
return HDR_FAIL;
/* verify magic number of 'MZ' */
if (dos_hdr.e_magic != 0x5A4D)
if (dos_hdr.e_magic != IMAGE_DOS_SIGNATURE)
return HDR_FAIL;
if (pe_offset != NULL)
......
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