Fix MSVC build

This commit is contained in:
Victor Zverovich 2018-02-16 18:13:54 +00:00
parent 8ed264fcd4
commit 1efc15c177

View File

@ -1627,7 +1627,7 @@ class specs_checker : public Handler {
FMT_CONSTEXPR void check_sign() { FMT_CONSTEXPR void check_sign() {
require_numeric_argument(); require_numeric_argument();
if (is_integral(arg_type_) && arg_type_ != int_type && if (is_integral(arg_type_) && arg_type_ != int_type &&
arg_type_ != long_long_type && arg_type_ != char_type) { arg_type_ != long_long_type && arg_type_ != internal::char_type) {
this->on_error("format specifier requires signed argument"); this->on_error("format specifier requires signed argument");
} }
} }