2008-07-15 Pavel Roskin <proski@gnu.org>
* kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property): Fix comparison between signed and unsigned.
This commit is contained in:
parent
0d3d8f2843
commit
c4cd51d7a4
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2008-07-15 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property):
|
||||
Fix comparison between signed and unsigned.
|
||||
|
||||
* include/grub/i386/ieee1275/console.h: Declare
|
||||
grub_console_init() and grub_console_fini().
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ grub_ieee1275_get_integer_property (grub_ieee1275_phandle_t phandle,
|
|||
/* Integer properties are always in big endian. */
|
||||
if (ret == 0)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
size /= sizeof (grub_uint32_t);
|
||||
for (i = 0; i < size; i++)
|
||||
buf[i] = grub_be_to_cpu32 (buf[i]);
|
||||
|
|
Loading…
Reference in a new issue