Usermode/telnetd - Option negotation framework, indexed PTY
[tpg/acess2.git] / Usermode / Applications / MultibootCheck_src / MultibootCheck.c
index ebb5b68..f0e1afe 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 // === CONSTANTS ===
 #define        SCAN_SPACE      8192
 
 // === TYPES ===
 typedef struct {
-       unsigned long   Magic;
-       unsigned long   Flags;
-       unsigned long   Checksum;
-} tMBootImg;
+       uint32_t        Magic;
+       uint32_t        Flags;
+       uint32_t        Checksum;
+} __attribute__((packed)) tMBootImg;
 
 // === PROTOTYPES ===
 void   CheckMultiboot(char *file);

UCC git Repository :: git.ucc.asn.au