Commit bb01633d authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning.

parent c978d881
......@@ -231,7 +231,7 @@ class ArgConverter : public fmt::internal::ArgVisitor<ArgConverter<T>, void> {
if (sizeof(T) <= sizeof(int)) {
if (is_signed) {
arg_.type = Arg::INT;
arg_.int_value = static_cast<T>(value);
arg_.int_value = static_cast<int>(static_cast<T>(value));
} else {
arg_.type = Arg::UINT;
arg_.uint_value =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment