summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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.