imagehlp: Use Macro instead of hardcoded value
André Hentschel
nerv at dawncrow.de
Mon Jan 10 12:20:15 CST 2011
---
dlls/imagehlp/integrity.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/imagehlp/integrity.c b/dlls/imagehlp/integrity.c
index 878153a..2c72948 100644
--- a/dlls/imagehlp/integrity.c
+++ b/dlls/imagehlp/integrity.c
@@ -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)
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list