* grub-core/disk/raid6_recover.c (grub_raid_block_mulx): Use grub_size_t

for size.
This commit is contained in:
Vladimir Serbinenko 2013-12-21 14:16:49 +01:00
parent 6e327fcd4c
commit 80b29fc9b4
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/raid6_recover.c (grub_raid_block_mulx): Use grub_size_t
for size.
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/lvm.c: Use grub_size_t for sizes and grub_ssize_t

View file

@ -34,9 +34,9 @@ static unsigned powx_inv[256];
static const grub_uint8_t poly = 0x1d;
static void
grub_raid_block_mulx (unsigned mul, char *buf, int size)
grub_raid_block_mulx (unsigned mul, char *buf, grub_size_t size)
{
int i;
grub_size_t i;
grub_uint8_t *p;
p = (grub_uint8_t *) buf;