[Libreoffice-commits] core.git: include/rtl
Stephan Bergmann
sbergman at redhat.com
Mon Jan 22 21:00:59 UTC 2018
include/rtl/byteseq.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 9a188a0a04ce71f088e585a1b6583994f1b80992
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 22 13:06:51 2018 +0100
loplugin:cstylecast (clang-cl, manual fix of conditional code)
Change-Id: I7d9c935897107fd0c8471f472234d789e9b8c2da
Reviewed-on: https://gerrit.libreoffice.org/48315
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/include/rtl/byteseq.h b/include/rtl/byteseq.h
index 064f91ca201a..640a4e06253a 100644
--- a/include/rtl/byteseq.h
+++ b/include/rtl/byteseq.h
@@ -152,9 +152,10 @@ enum __ByteSequence_NoAcquire
*/
BYTESEQ_NOACQUIRE =
#if defined _MSC_VER
- (int)
-#endif
+ int(0xcafebabe)
+#else
0xcafebabe
+#endif
};
/** C++ class representing a SAL byte sequence.
More information about the Libreoffice-commits
mailing list