Fix warning about using old-style cast
This commit is contained in:
1 parent
b1d10a2884
commit
7b4f170c94
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user