diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-04-22 03:17:14 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-04-22 03:17:14 +0100 |
| commit | 3b7ac395f41f524216d9bb8a288b79e2f1f4633c (patch) | |
| tree | a1bb9c43e205828bea74139fef0793300e8f708b /util | |
| parent | d6658eb062e55f426236c65121c8e958884124fb (diff) | |
nvmutil: fix cast
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
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; |
