2009-06-10 Pavel Roskin <proski@gnu.org>
* kern/file.c (grub_file_read): Use void pointer for the buffer. Adjust all callers.
This commit is contained in:
parent
27d5fef717
commit
5c5215d5e2
22 changed files with 59 additions and 56 deletions
|
@ -55,7 +55,7 @@ grub_xnu_resume (char *imagename)
|
|||
return 0;
|
||||
|
||||
/* Read the header. */
|
||||
if (grub_file_read (file, (char *) &hibhead, sizeof (hibhead))
|
||||
if (grub_file_read (file, &hibhead, sizeof (hibhead))
|
||||
!=sizeof (hibhead))
|
||||
{
|
||||
grub_file_close (file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue