util/nvmutil: cast rnum pointer check

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-13 21:03:06 +00:00
parent 74077f9903
commit 8071d7eaa8
+1 -1
View File
@@ -1744,7 +1744,7 @@ io_args(int fd, void *mem, size_t nrw,
goto err_io_args; goto err_io_args;
if (mem != (void *)pad if (mem != (void *)pad
&& mem != rnum && mem != (void *)rnum
&& (mem < (void *)buf || mem >= (void *)(buf + GBE_FILE_SIZE))) && (mem < (void *)buf || mem >= (void *)(buf + GBE_FILE_SIZE)))
goto err_io_args; goto err_io_args;