- Fix errors/warnings from MinGW 4.5.0 (tdm-1).

- Disable the missing field initializers warnings that -Wextra produces from GCC.

SVN r3173 (trunk)
This commit is contained in:
Randy Heit 2011-03-29 05:20:33 +00:00
commit d3b44a4172
19 changed files with 25 additions and 23 deletions

View file

@ -64,7 +64,7 @@ CCMD (dumpmap)
}
wadinfo_t header = { PWAD_ID, 12, 0 };
wadlump_t lumps[12] = { {0, 0, {NULL}} };
wadlump_t lumps[12] = { {0, 0, {0}} };
fseek (file, 12, SEEK_SET);
@ -95,7 +95,7 @@ CCMD (dumpmap)
static int WriteTHINGS (FILE *file)
{
mapthinghexen_t mt = { 0, 0, 0, 0, 0, 0, 0, 0, {NULL} };
mapthinghexen_t mt = { 0, 0, 0, 0, 0, 0, 0, 0, {0} };
AActor *mo = players[consoleplayer].mo;
mt.x = LittleShort(short(mo->x >> FRACBITS));