From 64bfe816a528a7b60e4c450e04eb6002bbe9c0c6 Mon Sep 17 00:00:00 2001 From: MikePopoloski Date: Thu, 19 Jul 2018 08:59:11 -0400 Subject: [PATCH] Fix warning about using old-style cast --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index f83345ff..c412e97d 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -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(count)) { set_data(args); }