]> Joshua Wise's Git repositories - netwatch.git/blobdiff - grubload/multiboot_c.c
Split smm-open-ich2 into two files:
[netwatch.git] / grubload / multiboot_c.c
index ad421b4b713f6aa24a46c30e7a32c07b8e5a7c4f..572c3fd3ee6d80cb86ad3b8764b64badf6df601e 100644 (file)
@@ -24,11 +24,11 @@ struct mod_info
 
 void c_start(unsigned int magic, struct mb_info *wee)
 {
-       unsigned short *grubptr = 0x7CFE;
+       unsigned short *grubptr = (unsigned short *)0x7CFE;
        unsigned char smramc;
        int i;
        
-       void (*realmode)() = 0x4000;
+       void (*realmode)() = (void (*)()) 0x4000;
        
        puts("Magic is: ");
        puthex(magic);
This page took 0.026261 seconds and 4 git commands to generate.