- GCC warning fixes (GCC stupidity for the most part.)

SVN r3154 (trunk)
This commit is contained in:
Christoph Oelckers 2011-02-19 08:59:43 +00:00
commit 1993e969b7
38 changed files with 152 additions and 119 deletions

View file

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