Fix warning about using old-style cast

This commit is contained in:
MikePopoloski 2018-07-19 08:59:11 -04:00 committed by Victor Zverovich
parent b1d10a2884
commit 7b4f170c94

View File

@ -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);
}