Fixed structure initialization issue.
authorKeith Kanios <spook@dynatos.net>
Sat, 14 Apr 2007 01:49:07 +0000 (01:49 +0000)
committerKeith Kanios <spook@dynatos.net>
Sat, 14 Apr 2007 01:49:07 +0000 (01:49 +0000)
output/outmacho.c

index 4043d02..c7d8cc4 100644 (file)
@@ -88,7 +88,7 @@ static struct sectmap {
 ".data", "__DATA", "__data", S_REGULAR}, {
 ".rodata", "__DATA", "__const", S_REGULAR}, {
 ".bss", "__DATA", "__bss", S_ZEROFILL}, {
-NULL, NULL, NULL, NULL}};
+NULL, NULL, NULL, (int32_t*)NULL}};
 
 struct reloc {
     /* nasm internal data */