From d4180e923f846b44a3d30acd938438d6e64fc9f6 Mon Sep 17 00:00:00 2001 From: Kostia Sokolovskyi Date: Fri, 13 Feb 2026 23:25:59 +0100 Subject: [PATCH] Fix comparison of integers of different signs warning when compiling with BoringSSL. (#2367) --- httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httplib.h b/httplib.h index 46659578..a35a1ae2 100644 --- a/httplib.h +++ b/httplib.h @@ -15341,7 +15341,7 @@ inline bool get_cert_sans(cert_t cert, std::vector &sans) { if (!names) return true; // No SANs is valid auto count = sk_GENERAL_NAME_num(names); - for (int i = 0; i < count; i++) { + for (decltype(count) i = 0; i < count; i++) { auto gen = sk_GENERAL_NAME_value(names, i); if (!gen) continue;