Suppress warnings.

This commit is contained in:
Victor Zverovich
2014-06-30 17:40:53 -07:00
parent f4208771a8
commit eb034a0589
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1512,7 +1512,7 @@ typename fmt::BasicWriter<Char>::CharPtr
unsigned fill_size = width - number_size;
if (align != ALIGN_LEFT) {
CharPtr p = GrowBuffer(fill_size);
std::fill(p, p + fill_size, spec.fill());
std::fill(p, p + fill_size, static_cast<Char>(spec.fill()));
}
CharPtr result = PrepareBufferForInt(num_digits, subspec, prefix, prefix_size);
if (align == ALIGN_LEFT) {