- Fix the case where \u<unicode char> could crash the compiler on some platforms.

This commit is contained in:
Christoffer Lerno
2026-01-01 21:44:37 +01:00
parent e4965ab408
commit 29b211eefc
2 changed files with 2 additions and 1 deletions

View File

@@ -609,7 +609,7 @@ static char hex_conv[256] = {
static inline int char_hex_to_nibble(char c)
{
return hex_conv[(unsigned)c] - 1;
return hex_conv[(unsigned char)c] - 1;
}
static inline bool char_is_hex_or_(char c)