From fb6f2d1790afbd99c628f5959fa2027e77df6266 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Tue, 14 Mar 2023 16:00:01 -0700 Subject: [PATCH] cast on input of XISALNUM --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index b19253b98..0a63243c4 100644 --- a/src/conf.c +++ b/src/conf.c @@ -743,7 +743,7 @@ static char* expandValue(WOLFSSL_CONF *conf, const char* section, strIdx += 2; startIdx = strIdx; } - while (*strIdx && (XISALNUM(*strIdx) || *strIdx == '_')) + while (*strIdx && (XISALNUM((int)(*strIdx)) || *strIdx == '_')) strIdx++; endIdx = strIdx; if (startIdx == endIdx) {