From 683080be533bcaa2ed2c8cafe041eb7a1f500172 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 15 Mar 2020 17:14:52 +0200 Subject: [PATCH] Fix clang-tidy warning --- include/spdlog/fmt/bin_to_hex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/fmt/bin_to_hex.h b/include/spdlog/fmt/bin_to_hex.h index 7e65ae91..13ddbc3a 100644 --- a/include/spdlog/fmt/bin_to_hex.h +++ b/include/spdlog/fmt/bin_to_hex.h @@ -158,7 +158,7 @@ struct formatter> } - put_newline(inserter, i - the_range.begin()); + put_newline(inserter, static_cast(i - the_range.begin())); // put first byte without delimiter in front of it *inserter++ = hex_chars[(ch >> 4) & 0x0f];