From 7b4f170c94c69667667fec9040bca4310a3c26ee 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 b9f62e5e..ae4e39ce 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); }