diff --git a/ChangeLog b/ChangeLog index 89974cff6..52bd2608d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-11-04 Vladimir Serbinenko + + * 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 * grub-core/disk/raid.c (scan_devices): Don't derference NULL on whole diff --git a/include/grub/kernel.h b/include/grub/kernel.h index 2ff6b2469..f9fc817db 100644 --- a/include/grub/kernel.h +++ b/include/grub/kernel.h @@ -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; };