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

Nicolas Le Cam niko.lecam at gmail.com
Thu May 5 16:27:41 CDT 2011


Fixes missing-braces warnings.

-- 
Nicolas Le Cam
-------------- next part --------------
From 0f7a68a5099c1f991cc466e3fe98b8579902a3e7 Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Thu, 5 May 2011 20:48:20 +0200
Subject: 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 */
-- 
1.7.5.1


More information about the wine-patches mailing list