cast on input of XISALNUM

This commit is contained in:
JacobBarthelmeh
2023-03-14 16:00:01 -07:00
parent 0486db8a2e
commit fb6f2d1790

View File

@ -743,7 +743,7 @@ static char* expandValue(WOLFSSL_CONF *conf, const char* section,
strIdx += 2; strIdx += 2;
startIdx = strIdx; startIdx = strIdx;
} }
while (*strIdx && (XISALNUM(*strIdx) || *strIdx == '_')) while (*strIdx && (XISALNUM((int)(*strIdx)) || *strIdx == '_'))
strIdx++; strIdx++;
endIdx = strIdx; endIdx = strIdx;
if (startIdx == endIdx) { if (startIdx == endIdx) {