Module: wine Branch: master Commit: 4e9cc305bb1a758eb70419318c7c41c2918fc180 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e9cc305bb1a758eb70419318c...
Author: Hans Leidekker hans@codeweavers.com Date: Tue Sep 13 14:31:37 2016 +0200
include: Fix aligment of some Web Services structures.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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; };