]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* include/grub/kernel.h (grub_module_header): Make type into uint32 as
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 4 Nov 2011 12:18:30 +0000 (13:18 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 4 Nov 2011 12:18:30 +0000 (13:18 +0100)
expected by grub-mkimage and it's more clear since there is no implicit
padding.

ChangeLog
include/grub/kernel.h

index 89974cff6bd1d38688b0368726af05b1ffdeb817..52bd2608dfae67aafe280937a9787764121f72f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 2ff6b246915d58b4ea268638d7d09fb22f5db0c2..f9fc817dbc79ca9c26d6d2026366841830963730 100644 (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;
 };