[PATCH] include: Fix size of RecordCreateOptionsEnum.

Brendan Shanks bshanks at codeweavers.com
Tue Feb 11 17:57:02 CST 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48577
Signed-off-by: Brendan Shanks <bshanks at codeweavers.com>
---
 include/msado15_backcompat.idl | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/msado15_backcompat.idl b/include/msado15_backcompat.idl
index e4a847ab85..68fda6ab21 100644
--- a/include/msado15_backcompat.idl
+++ b/include/msado15_backcompat.idl
@@ -430,12 +430,12 @@ typedef [uuid(00000574-0000-0010-8000-00aa006d2ea4)] enum CopyRecordOptionsEnum
 
 typedef [uuid(00000570-0000-0010-8000-00aa006d2ea4)] enum RecordCreateOptionsEnum
 {
-    adCreateCollection = 0x00002000,
-    adCreateStructDoc = 0x80000000,
-    adCreateNonCollection = 0x00000000,
-    adOpenIfExists = 0x02000000,
-    adCreateOverwrite = 0x04000000,
-    adFailIfNotExists = -1
+    adCreateCollection = (int) 0x00002000,
+    adCreateStructDoc = (int) 0x80000000,
+    adCreateNonCollection = (int) 0x00000000,
+    adOpenIfExists = (int) 0x02000000,
+    adCreateOverwrite = (int) 0x04000000,
+    adFailIfNotExists = (int) -1
 } RecordCreateOptionsEnum;
 
 typedef [uuid(00000571-0000-0010-8000-00aa006d2ea4)] enum RecordOpenOptionsEnum
-- 
2.24.1




More information about the wine-devel mailing list