util/nvmutil: missing paretheses on if statement

fsdg20230625
Leah Rowe 2022-12-03 12:30:13 +00:00
parent 036d710776
commit c100dd1f81
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ hextonum(char chs)
uint8_t val8, ch;
ch = (uint8_t) chs;
if ((ch >= '0') && ch <= '9') {
if ((ch >= '0') && (ch <= '9')) {
val8 = ch - '0';
} else if ((ch >= 'A') && (ch <= 'F')) {
val8 = ch - 'A' + 10;