mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix a warning.
This commit is contained in:
parent
c978d88183
commit
bb01633d19
@ -231,7 +231,7 @@ class ArgConverter : public fmt::internal::ArgVisitor<ArgConverter<T>, void> {
|
|||||||
if (sizeof(T) <= sizeof(int)) {
|
if (sizeof(T) <= sizeof(int)) {
|
||||||
if (is_signed) {
|
if (is_signed) {
|
||||||
arg_.type = Arg::INT;
|
arg_.type = Arg::INT;
|
||||||
arg_.int_value = static_cast<T>(value);
|
arg_.int_value = static_cast<int>(static_cast<T>(value));
|
||||||
} else {
|
} else {
|
||||||
arg_.type = Arg::UINT;
|
arg_.type = Arg::UINT;
|
||||||
arg_.uint_value =
|
arg_.uint_value =
|
||||||
|
Loading…
Reference in New Issue
Block a user