diff --git a/format.h b/format.h index a0b49ba0..5d3af4d3 100644 --- a/format.h +++ b/format.h @@ -685,7 +685,7 @@ class BasicCharTraits { #else typedef Char *CharPtr; #endif - static Char cast(wchar_t value) { return static_cast(value); } + static Char cast(int value) { return static_cast(value); } }; template @@ -1624,7 +1624,6 @@ inline StrFormatSpec pad( return StrFormatSpec(str, width, fill); } - namespace internal { template