2008-07-02 Pavel Roskin <proski@gnu.org>
* commands/hexdump.c (grub_cmd_hexdump): Fix misuse of grub_disk_addr_t for memory addresses.
This commit is contained in:
parent
00c7a56aeb
commit
ce8d1766c2
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2008-07-02 Pavel Roskin <proski@gnu.org>
|
2008-07-02 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* commands/hexdump.c (grub_cmd_hexdump): Fix misuse of
|
||||||
|
grub_disk_addr_t for memory addresses.
|
||||||
|
|
||||||
* loader/aout.c (grub_aout_load): Cast load_addr to pointer
|
* loader/aout.c (grub_aout_load): Cast load_addr to pointer
|
||||||
explicitly to fix a warning.
|
explicitly to fix a warning.
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ grub_cmd_hexdump (struct grub_arg_list *state, int argc, char **args)
|
||||||
{
|
{
|
||||||
char buf[GRUB_DISK_SECTOR_SIZE * 4];
|
char buf[GRUB_DISK_SECTOR_SIZE * 4];
|
||||||
grub_ssize_t size, length;
|
grub_ssize_t size, length;
|
||||||
grub_disk_addr_t skip;
|
grub_addr_t skip;
|
||||||
int namelen;
|
int namelen;
|
||||||
|
|
||||||
if (argc != 1)
|
if (argc != 1)
|
||||||
|
|
Loading…
Reference in a new issue