mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* include/grub/diskfilter.h (grub_raid5_recover_func_t): Use proper
type for size. (grub_raid6_recover_func_t): Likewise. * grub-core/disk/raid5_recover.c (grub_raid5_recover): Likewise. * grub-core/disk/raid6_recover.c (grub_raid6_recover): Likewise.
This commit is contained in:
1 parent
0b5ea6b8c3
commit
36498496a0
4 files changed
+12
-4
No files matched your search
@@ -29,7 +29,7 @@ GRUB_MOD_LICENSE ("GPLv3+");
|
||||
|
||||
static grub_err_t
|
||||
grub_raid5_recover (struct grub_diskfilter_segment *array, int disknr,
|
||||
char *buf, grub_disk_addr_t sector, int size)
|
||||
char *buf, grub_disk_addr_t sector, grub_size_t size)
|
||||
{
|
||||
char *buf2;
|
||||
int i;
|
||||
|
||||
@@ -65,7 +65,7 @@ grub_raid6_init_table (void)
|
||||
|
||||
static grub_err_t
|
||||
grub_raid6_recover (struct grub_diskfilter_segment *array, int disknr, int p,
|
||||
char *buf, grub_disk_addr_t sector, int size)
|
||||
char *buf, grub_disk_addr_t sector, grub_size_t size)
|
||||
{
|
||||
int i, q, pos;
|
||||
int bad1 = -1, bad2 = -1;
|
||||
|
||||
Reference in new issue
Block a user