* include/grub/kernel.h (grub_module_header): Make type into uint32 as

expected by grub-mkimage and it's more clear since there is no implicit
	padding.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-11-04 13:18:30 +01:00
parent dbd3a32e43
commit 8bec9a284b
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/kernel.h (grub_module_header): Make type into uint32 as
expected by grub-mkimage and it's more clear since there is no implicit
padding.
2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/raid.c (scan_devices): Don't derference NULL on whole

View file

@ -34,7 +34,7 @@ enum
struct grub_module_header
{
/* The type of object. */
grub_uint8_t type;
grub_uint32_t type;
/* The size of object (including this header). */
grub_uint32_t size;
};