include/tools/json_writer.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 440467e0c6c9118b58d608748dc03da4ff909b09 Author: Tor Lillqvist <[email protected]> AuthorDate: Mon Jan 24 19:41:39 2022 +0200 Commit: Andras Timar <[email protected]> CommitDate: Mon Jan 24 20:39:42 2022 +0100 Fix MSVC warning C4309: 'initializing': truncation of constant value Change-Id: I71e47fa48fd4aea334a95dab8e2321c889b28a89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128881 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Andras Timar <[email protected]> diff --git a/include/tools/json_writer.hxx b/include/tools/json_writer.hxx index 318faef70fee..3017c2d72e47 100644 --- a/include/tools/json_writer.hxx +++ b/include/tools/json_writer.hxx @@ -101,7 +101,7 @@ private: } // overflow validation in debug mode - static constexpr char JSON_WRITER_DEBUG_MARKER = 0xde; + static constexpr char JSON_WRITER_DEBUG_MARKER = static_cast<char>(0xde); inline void addValidationMark() {
