diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-16 21:01:33 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:42 +0000 |
| commit | b951ef24337e0c916956b4203c11cf15f30b8911 (patch) | |
| tree | 3353f3f54d569e281c52941010ebadbd72d7d96f /util/nvmutil/nvmutil.c | |
| parent | 251ba82ccb34adf2c1a6d9d23d442875a3a81824 (diff) | |
cast
Signed-off-by: Leah Rowe <leah@libreboot.org>
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 53745675..1f7f4af0 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -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 */ } |
