Nicolas Le Cam : wintrust/tests: BaseOfData isn' t part of IMAGE_OPTIONAL_HEADER64 structure.

Alexandre Julliard julliard at winehq.org
Fri May 6 13:44:01 CDT 2011


Module: wine
Branch: master
Commit: 2573c84423ef4bc203600f9c1dd454dcbca9dcec
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2573c84423ef4bc203600f9c1dd454dcbca9dcec

Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date:   Thu May  5 20:48:20 2011 +0200

wintrust/tests: BaseOfData isn't part of IMAGE_OPTIONAL_HEADER64 structure.

---

 dlls/wintrust/tests/crypt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/wintrust/tests/crypt.c b/dlls/wintrust/tests/crypt.c
index e5f36e1..d6672ea 100644
--- a/dlls/wintrust/tests/crypt.c
+++ b/dlls/wintrust/tests/crypt.c
@@ -1158,7 +1158,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