]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/disk/raid6_recover.c (grub_raid_block_mulx): Use grub_size_t
authorVladimir Serbinenko <phcoder@gmail.com>
Sat, 21 Dec 2013 13:16:49 +0000 (14:16 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sat, 21 Dec 2013 13:16:49 +0000 (14:16 +0100)
for size.

ChangeLog
grub-core/disk/raid6_recover.c

index 6a50c114f59bf3f24a1f666c54d9d47dab200d6f..ecf8ba19bba85c557a5691b4c5d0c48ad8e1af73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 61a8ba6665b465c2477e90dd6f74449da90328ed..f9ec632fb23de952c972577465868febfda8a67a 100644 (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;