2008-04-02 Pavel Roskin <proski@gnu.org>
* disk/raid.c (grub_raid_memberlist): Fix a signedness warning. * fs/cpio.c (grub_cpio_read): Likewise.
This commit is contained in:
parent
4b6e1995be
commit
ba7328dcba
3 changed files with 7 additions and 2 deletions
|
@ -315,7 +315,7 @@ grub_cpio_read (grub_file_t file, char *buf, grub_size_t len)
|
|||
|
||||
data = file->data;
|
||||
return (grub_disk_read (data->disk, 0, data->dofs + file->offset,
|
||||
len, buf)) ? -1 : len;
|
||||
len, buf)) ? -1 : (grub_ssize_t) len;
|
||||
}
|
||||
|
||||
static grub_err_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue