* disk/raid.c (grub_raid_memberlist): Fix a signedness warning.
* fs/cpio.c (grub_cpio_read): Likewise.
+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.
+
2008-04-01 Pavel Roskin <proski@gnu.org>
* disk/ata.c (grub_ata_open): Don't lose precision in disk->id.
{
struct grub_raid_array *array = disk->data;
grub_disk_memberlist_t list = NULL, tmp;
- int i;
+ unsigned int i;
for (i = 0; i < array->total_devs; i++)
{
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