From 2b2fa8b825967f138c87bab52bbb1a1c911a5a2a Mon Sep 17 00:00:00 2001 From: Barry Revzin Date: Fri, 24 Dec 2021 15:54:43 -0600 Subject: [PATCH] Silence this other warning. --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 68035faf..94e0594e 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1576,7 +1576,7 @@ template auto find_escape(const Char* begin, const Char* end) -> find_escape_result { for (; begin != end; ++begin) { - auto cp = static_cast>(*begin); + uint32_t cp = static_cast>(*begin); if (sizeof(Char) == 1 && cp >= 0x80) continue; if (needs_escape(cp)) return {begin, begin + 1, cp}; }