util/nvmutil: add missing cast

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-13 06:18:29 +00:00
parent ddf13a7e74
commit f99921d717
+1 -1
View File
@@ -1654,7 +1654,7 @@ prw(int fd, void *mem, size_t nrw,
prw_type = rw_type ^ IO_PREAD;
if (prw_type > IO_WRITE) {
if ((unsigned int)prw_type > IO_WRITE) {
errno = EIO;
return -1;
}