From 4a8b86323890da97ddaee4857a68e37d81407a95 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sun, 3 May 2020 13:45:47 +0200 Subject: [PATCH] Cygwin build fix --- src/fstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fstring.cpp b/src/fstring.cpp index 542ee14c..ab3e51c8 100644 --- a/src/fstring.cpp +++ b/src/fstring.cpp @@ -1645,7 +1645,7 @@ std::ostream& operator << (std::ostream& outstr, const FString& s) } else if ( width > 0 ) { - const FString fill_str{width, outstr.fill()}; + const FString fill_str{width, wchar_t(outstr.fill())}; outstr << s.wc_to_c_str(fill_str.string); }