Skip to content

Commit

Permalink
Fix warning about using old-style cast
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski authored and vitaut committed Jul 21, 2018
1 parent b1d10a2 commit 7b4f170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 7b4f170

Please sign in to comment.