From 5d0d74af4c897f21b0876b5705ea176d00cf3a1d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 16 Mar 2026 21:01:33 +0000 Subject: cast Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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 */ } -- cgit v1.2.1