Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-16 21:01:33 +00:00
parent e33831ef20
commit 5d0d74af4c

View File

@@ -1363,7 +1363,7 @@ hextonum(char ch_s)
return ch - 'a' + 10;
if (ch == '?' || ch == 'x')
return rlong() & 0xf;
return (unsigned short)rlong() & 0xf;
return 16; /* invalid character */
}