]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-07-02 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Wed, 2 Jul 2008 19:30:56 +0000 (19:30 +0000)
committerproski <proski@localhost>
Wed, 2 Jul 2008 19:30:56 +0000 (19:30 +0000)
* commands/hexdump.c (grub_cmd_hexdump): Fix misuse of
grub_disk_addr_t for memory addresses.

ChangeLog
commands/hexdump.c

index 0de66f3c74ae97027ea35a2c7d759e45cf585e52..611e841021118689f9f0f5a6a0ac9554d0615467 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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
        explicitly to fix a warning.
 
index c9aa441e1c77e2a4bf571e008f03c336fb3f4cdc..c340638a8ba01e3ed7f663486dfc307f2acc027e 100644 (file)
@@ -85,7 +85,7 @@ grub_cmd_hexdump (struct grub_arg_list *state, int argc, char **args)
 {
   char buf[GRUB_DISK_SECTOR_SIZE * 4];
   grub_ssize_t size, length;
-  grub_disk_addr_t skip;
+  grub_addr_t skip;
   int namelen;
 
   if (argc != 1)