2009-05-13 Pavel Roskin <proski@gnu.org>
* kernel/disk.c (grub_disk_read): Use void pointer for the buffer. (grub_disk_write): Use const void pointer for the buffer. Adjust all callers. Remove unnecessary casts.
This commit is contained in:
parent
901d2f0c27
commit
238e871fff
29 changed files with 93 additions and 86 deletions
2
fs/sfs.c
2
fs/sfs.c
|
@ -272,7 +272,7 @@ grub_sfs_mount (grub_disk_t disk)
|
|||
|
||||
/* Read the rootblock. */
|
||||
grub_disk_read (disk, 0, 0, sizeof (struct grub_sfs_rblock),
|
||||
(char *) &data->rblock);
|
||||
&data->rblock);
|
||||
if (grub_errno)
|
||||
goto fail;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue