[4/4] include: Fix aligment of some Web Services structures.

Hans Leidekker hans at codeweavers.com
Tue Sep 13 07:31:37 CDT 2016


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 include/webservices.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/webservices.h b/include/webservices.h
index 0a58641..f09d15b 100644
--- a/include/webservices.h
+++ b/include/webservices.h
@@ -360,8 +360,8 @@ typedef struct _WS_INT32_DESCRIPTION {
 } WS_INT32_DESCRIPTION;
 
 typedef struct _WS_INT64_DESCRIPTION {
-    __int64 minValue;
-    __int64 maxValue;
+    __int64 DECLSPEC_ALIGN(8) minValue;
+    __int64 DECLSPEC_ALIGN(8) maxValue;
 } WS_INT64_DESCRIPTION;
 
 typedef struct _WS_UINT8_DESCRIPTION {
@@ -380,8 +380,8 @@ typedef struct _WS_UINT32_DESCRIPTION {
 } WS_UINT32_DESCRIPTION;
 
 typedef struct _WS_UINT64_DESCRIPTION {
-    unsigned __int64 minValue;
-    unsigned __int64 maxValue;
+    unsigned __int64 DECLSPEC_ALIGN(8) minValue;
+    unsigned __int64 DECLSPEC_ALIGN(8) maxValue;
 } WS_UINT64_DESCRIPTION;
 
 typedef struct _WS_WSZ_DESCRIPTION {
@@ -412,8 +412,8 @@ struct _WS_ENUM_DESCRIPTION {
 };
 
 struct _WS_DOUBLE_DESCRIPTION {
-    double minValue;
-    double maxValue;
+    double DECLSPEC_ALIGN(8) minValue;
+    double DECLSPEC_ALIGN(8) maxValue;
 };
 
 struct _WS_GUID_DESCRIPTION {
@@ -595,17 +595,17 @@ typedef struct _WS_XML_INT32_TEXT {
 
 typedef struct _WS_XML_INT64_TEXT {
     WS_XML_TEXT text;
-    __int64 value;
+    __int64 DECLSPEC_ALIGN(8) value;
 } WS_XML_INT64_TEXT;
 
 typedef struct _WS_XML_UINT64_TEXT {
     WS_XML_TEXT text;
-    unsigned __int64 value;
+    unsigned __int64 DECLSPEC_ALIGN(8) value;
 } WS_XML_UINT64_TEXT;
 
 typedef struct _WS_XML_DOUBLE_TEXT {
     WS_XML_TEXT text;
-    double value;
+    double DECLSPEC_ALIGN(8) value;
 } WS_XML_DOUBLE_TEXT;
 
 typedef struct _WS_XML_GUID_TEXT {
@@ -1097,7 +1097,7 @@ typedef enum {
 } WS_DATETIME_FORMAT;
 
 struct _WS_DATETIME {
-    unsigned __int64 ticks;
+    unsigned __int64 DECLSPEC_ALIGN(8) ticks;
     WS_DATETIME_FORMAT format;
 };
 
-- 
2.1.4




More information about the wine-patches mailing list