nvmutil: fix cast

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-04-22 03:17:14 +01:00
parent d6658eb062
commit 3b7ac395f4
+1 -1
View File
@@ -234,7 +234,7 @@ readGbe(void)
if (buf == NULL) if (buf == NULL)
err(EXIT_FAILURE, "malloc"); err(EXIT_FAILURE, "malloc");
gbe[0] = (size_t) buf; gbe[0] = (uintptr_t) buf;
gbe[1] = gbe[0] + (nf * (do_read[0] & do_read[1])); gbe[1] = gbe[0] + (nf * (do_read[0] & do_read[1]));
ssize_t tnr = 0; ssize_t tnr = 0;