summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/mingw-enum.patch
blob: f9909c26e90572132f30b34d47f82ee132200bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/mingw-w64-headers/include/windows.foundation.h b/mingw-w64-headers/include/windows.foundation.h
index 423d8fd30..a5a61eb76 100644
--- a/mingw-w64-headers/include/windows.foundation.h
+++ b/mingw-w64-headers/include/windows.foundation.h
@@ -72,7 +72,7 @@ extern "C" {
 namespace ABI {
     namespace Windows {
         namespace Foundation {
-            typedef enum PropertyType PropertyType;
+            typedef enum PropertyType : int PropertyType;
         }
     }
 }
@@ -146,7 +146,7 @@ typedef struct __x_ABI_CWindows_CFoundation_CTimeSpan __x_ABI_CWindows_CFoundati
 namespace ABI {
     namespace Windows {
         namespace Foundation {
-            enum PropertyType {
+            enum PropertyType : int {
                 PropertyType_Empty = 0,
                 PropertyType_UInt8 = 1,
                 PropertyType_Int16 = 2,