* 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:
parent
dbd3a32e43
commit
8bec9a284b
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/disk/raid.c (scan_devices): Don't derference NULL on whole
|
* grub-core/disk/raid.c (scan_devices): Don't derference NULL on whole
|
||||||
|
|
|
@ -34,7 +34,7 @@ enum
|
||||||
struct grub_module_header
|
struct grub_module_header
|
||||||
{
|
{
|
||||||
/* The type of object. */
|
/* The type of object. */
|
||||||
grub_uint8_t type;
|
grub_uint32_t type;
|
||||||
/* The size of object (including this header). */
|
/* The size of object (including this header). */
|
||||||
grub_uint32_t size;
|
grub_uint32_t size;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue