André Hentschel : winedump: Fix MZ Header detection.
Alexandre Julliard
julliard at winehq.org
Wed Jan 12 13:16:53 CST 2011
Module: wine
Branch: master
Commit: 13b0452c45f096649a4113bcc378b6111e1bc435
URL: http://source.winehq.org/git/wine.git/?a=commit;h=13b0452c45f096649a4113bcc378b6111e1bc435
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Jan 11 20:29:43 2011 +0100
winedump: Fix MZ Header detection.
---
tools/winedump/pe.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index 63001ed..c1f6eb8 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
@@ -1461,10 +1461,10 @@ enum FileSig get_kind_exec(void)
if (*pdw == IMAGE_NT_SIGNATURE) return SIG_PE;
if (*(const WORD *)pdw == IMAGE_OS2_SIGNATURE) return SIG_NE;
if (*(const WORD *)pdw == IMAGE_VXD_SIGNATURE) return SIG_LE;
- return SIG_DOS;
}
+ return SIG_DOS;
}
- return 0;
+ return SIG_UNKNOWN;
}
void pe_dump(void)
More information about the wine-cvs
mailing list