* grub-core/boot/decompressor/minilib.c (grub_memcmp): Fix the compare

signedness.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-26 03:31:41 +02:00
parent e9e6f11155
commit 5f92c8a110
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-06-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/boot/decompressor/minilib.c (grub_memcmp): Fix the compare
signedness.
2012-06-25 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Fix dvhtool invocation. Add arc to the list of

View file

@ -53,8 +53,8 @@ grub_memmove (void *dest, const void *src, grub_size_t n)
int
grub_memcmp (const void *s1, const void *s2, grub_size_t n)
{
const char *t1 = s1;
const char *t2 = s2;
const unsigned char *t1 = s1;
const unsigned char *t2 = s2;
while (n--)
{