2008-07-14 Pavel Roskin <proski@gnu.org>

* commands/blocklist.c (grub_cmd_blocklist): Fix format warning.
	* commands/cmp.c (grub_cmd_cmp): Likewise.
	* kern/dl.c (grub_dl_flush_cache): Likewise.
	(grub_dl_load_core): Likewise.
	* kern/elf.c (grub_elf32_load_phdrs): Likewise.
	(grub_elf64_load_phdrs): Likewise.
This commit is contained in:
proski 2008-07-14 04:46:19 +00:00
parent fe9870876d
commit e4e8eaa5b3
5 changed files with 21 additions and 11 deletions

View file

@ -72,7 +72,7 @@ grub_cmd_blocklist (struct grub_arg_list *state __attribute__ ((unused)),
if (num_entries++)
grub_printf (",");
grub_printf ("%llu", sector - part_start);
grub_printf ("%llu", (unsigned long long) (sector - part_start));
if (num > 0)
grub_printf ("+%u", num);
if (offset != 0 || length != 0)