From 588ed11e85efe7787760dbec94f6269d150fcae5 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 28 Jun 2025 02:01:48 -0400 Subject: [PATCH] avoid comparison with different signedness --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.cpp b/src/utils.cpp index 55de82bfe7..7f41402a2a 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -2506,7 +2506,7 @@ static int matchone(regex_t p, char c) case RX_NOT_WHITESPACE: return !matchwhitespace(c); default: - return (p.u.ch == c); + return (p.u.ch == (unsigned char)c); } }