diff options
author | Milo Yip <miloyip@gmail.com> | 2015-12-18 13:34:04 +0300 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2015-12-18 13:34:04 +0300 |
commit | 74c8dcfd5791c4f11e6d52fdc15047b0622dd8af (patch) | |
tree | ff220aa18d5401b67bb06de63860e55a676f8a73 /include/rapidjson/prettywriter.h | |
parent | f36af30531bc1cfa4f26d798ba1ef668812b8fd0 (diff) |
Fix clang -Weverything
Diffstat (limited to 'include/rapidjson/prettywriter.h')
-rw-r--r-- | include/rapidjson/prettywriter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/prettywriter.h b/include/rapidjson/prettywriter.h index fff88862..adfff4fd 100644 --- a/include/rapidjson/prettywriter.h +++ b/include/rapidjson/prettywriter.h @@ -186,7 +186,7 @@ protected: void WriteIndent() {
size_t count = (Base::level_stack_.GetSize() / sizeof(typename Base::Level)) * indentCharCount_;
- PutN(*Base::os_, indentChar_, count);
+ PutN(*Base::os_, static_cast<typename TargetEncoding::Ch>(indentChar_), count);
}
Ch indentChar_;
|