mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
util/misc.c: Change offset type for grub_util_write_image_at()
Adding filevercmp support to grub-core/commands/blsuki.c from gnulib will cause issues with the type of the offset parameter for grub_util_write_image_at() for emu builds. To fix this issue, we can change the type from off_t to grub_off_t. Signed-off-by: Alec Brown <alec.r.brown@oracle.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
8cee1c284b
commit
51b9601320
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -101,7 +101,7 @@ grub_util_read_image (const char *path)
|
||||
}
|
||||
|
||||
void
|
||||
grub_util_write_image_at (const void *img, size_t size, off_t offset, FILE *out,
|
||||
grub_util_write_image_at (const void *img, size_t size, grub_off_t offset, FILE *out,
|
||||
const char *name)
|
||||
{
|
||||
grub_util_info ("writing 0x%" GRUB_HOST_PRIxLONG_LONG " bytes at offset 0x%"
|
||||
|
||||
Reference in new issue
Block a user