Module: wine Branch: master Commit: 82efaae0a2aed93b6868a32d902953d0382fe77d URL: http://source.winehq.org/git/wine.git/?a=commit;h=82efaae0a2aed93b6868a32d90... Author: André Hentschel <nerv(a)dawncrow.de> Date: Mon Jan 10 19:20:15 2011 +0100 imagehlp: Use define instead of hardcoded value. --- 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)