diff options
Diffstat (limited to 'util/nvmutil/nvmutil.c')
-rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
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; |