summaryrefslogtreecommitdiff
path: root/include/rtl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-12 16:52:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-13 10:29:03 +0100
commit2083761d19c91dc875a69f049f53fe91e421a9f0 (patch)
tree40bcaba87db7572da759c5bcfd831a577cc8358b /include/rtl
parentb701bd8cbd46644e28d0dbcae94d5098b72036d8 (diff)
-Werror,-Wmicrosoft-enum-value
Change-Id: Iafd6e5f899835303e421be923f70d1e3f42bf65e
Diffstat (limited to 'include/rtl')
-rw-r--r--include/rtl/byteseq.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rtl/byteseq.h b/include/rtl/byteseq.h
index 27011c2fba11..3c057454f4da 100644
--- a/include/rtl/byteseq.h
+++ b/include/rtl/byteseq.h
@@ -150,7 +150,11 @@ enum __ByteSequence_NoAcquire
/** This enum value can be used to create a bytesequence from a C-Handle without
acquiring the handle.
*/
- BYTESEQ_NOACQUIRE = 0xcafebabe
+ BYTESEQ_NOACQUIRE =
+#if defined _MSC_VER
+ (int)
+#endif
+ 0xcafebabe
};
/** C++ class representing a SAL byte sequence.