diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-22 13:06:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-22 22:00:29 +0100 |
commit | 9a188a0a04ce71f088e585a1b6583994f1b80992 (patch) | |
tree | cac0a0ce72b7f10d64708052bde283cafb64bd7e | |
parent | 69886ca4073bbe9f812a850ffc46b2da5858703c (diff) |
loplugin:cstylecast (clang-cl, manual fix of conditional code)
Change-Id: I7d9c935897107fd0c8471f472234d789e9b8c2da
Reviewed-on: https://gerrit.libreoffice.org/48315
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | include/rtl/byteseq.h | 5 |
1 files changed, 3 insertions, 2 deletions
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. |