mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-07 17:41:11 +00:00
Fix warning about using old-style cast
This commit is contained in:
parent
b1d10a2884
commit
7b4f170c94
@ -1151,7 +1151,7 @@ class basic_format_args {
|
||||
\endrst
|
||||
*/
|
||||
basic_format_args(const format_arg *args, size_type count)
|
||||
: types_(-(int64_t)count) {
|
||||
: types_(-static_cast<int64_t>(count)) {
|
||||
set_data(args);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user