summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-22 03:17:14 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-22 03:17:14 +0100
commit3b7ac395f41f524216d9bb8a288b79e2f1f4633c (patch)
treea1bb9c43e205828bea74139fef0793300e8f708b
parentd6658eb062e55f426236c65121c8e958884124fb (diff)
nvmutil: fix cast
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index e76fbc47..1910c974 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -234,7 +234,7 @@ readGbe(void)
if (buf == NULL)
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]));
ssize_t tnr = 0;