mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-28 13:19:48 +01:00
@@ -1064,8 +1064,9 @@ class basic_format_args {
|
||||
|
||||
unsigned max_size() const {
|
||||
int64_t signed_types = static_cast<int64_t>(types_);
|
||||
return signed_types < 0 ?
|
||||
-signed_types : static_cast<int64_t>(internal::max_packed_args);
|
||||
return static_cast<unsigned>(signed_types < 0
|
||||
? -signed_types
|
||||
: static_cast<int64_t>(internal::max_packed_args));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user