summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2022-12-03 12:30:13 +0000
committerLeah Rowe <leah@libreboot.org>2022-12-03 12:30:13 +0000
commitc100dd1f818847dc06a9c1d001ff1c56c8d2fd2d (patch)
tree654747c826f319c8b969b3a989f649ea537045f4 /util/nvmutil
parent036d710776ba0065560f42f28d081047d552dd0e (diff)
util/nvmutil: missing paretheses on if statement
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index b45e9064..71d92932 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -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;