Alexandre Julliard : kernel32/tests: Fix the NT header initialization for 64-bit.
Alexandre Julliard
julliard at winehq.org
Sun Jan 4 09:08:58 CST 2009
Module: wine
Branch: master
Commit: b71235815256e5f8cbf05863b8ea84ad78b9d167
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b71235815256e5f8cbf05863b8ea84ad78b9d167
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Jan 3 20:21:25 2009 +0100
kernel32/tests: Fix the NT header initialization for 64-bit.
---
dlls/kernel32/tests/loader.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/loader.c b/dlls/kernel32/tests/loader.c
index 106926f..45cdcf6 100644
--- a/dlls/kernel32/tests/loader.c
+++ b/dlls/kernel32/tests/loader.c
@@ -72,7 +72,9 @@ static IMAGE_NT_HEADERS nt_header =
0, /* SizeOfUninitializedData */
0, /* AddressOfEntryPoint */
0x10, /* BaseOfCode, also serves as e_lfanew in the truncated MZ header */
+#ifndef _WIN64
0, /* BaseOfData */
+#endif
0x10000000, /* ImageBase */
0, /* SectionAlignment */
0, /* FileAlignment */
More information about the wine-cvs
mailing list