diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 00:20:49 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-15 00:20:49 +0000 |
| commit | 2dd13e2859e7053e2d1462d1e27798da88da26f3 (patch) | |
| tree | c0f5df8bbd1b0b0cfa747227bfb117e1b7ed056b /util/nvmutil/nvmutil.c | |
| parent | 6fc8bca77bd1c54d792a50aea1d1b71af2374afe (diff) | |
cast
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
| -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 6fc5f4a7..a26fa553 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -1838,7 +1838,7 @@ rw_gbe_file_exact(int fd, u8 *mem, size_t nrw, if (nrw > (size_t)(gbe_file_size - off)) goto err_rw_gbe_file_exact; - if (nrw > GBE_PART_SIZE) + if (nrw > (size_t)GBE_PART_SIZE) goto err_rw_gbe_file_exact; return rw_file_exact(fd, mem, nrw, off, rw_type, |
