mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
Miscellaneous warning fixes
This commit is contained in:
parent
47543bb766
commit
006868c072
3 changed files with 7 additions and 7 deletions
|
@ -429,7 +429,7 @@ void FGameConfigFile::DoKeySetup(const char *gamename)
|
|||
{ "Bindings", &Bindings },
|
||||
{ "DoubleBindings", &DoubleBindings },
|
||||
{ "AutomapBindings", &AutomapBindings },
|
||||
NULL, NULL
|
||||
{ NULL, NULL }
|
||||
};
|
||||
const char *key, *value;
|
||||
|
||||
|
|
|
@ -295,23 +295,23 @@ player_t::player_t()
|
|||
respawn_time(0),
|
||||
camera(0),
|
||||
air_finished(0),
|
||||
MUSINFOactor(0),
|
||||
MUSINFOtics(-1),
|
||||
crouching(0),
|
||||
crouchdir(0),
|
||||
Bot(0),
|
||||
BlendR(0),
|
||||
BlendG(0),
|
||||
BlendB(0),
|
||||
BlendA(0),
|
||||
LogText(),
|
||||
crouching(0),
|
||||
crouchdir(0),
|
||||
crouchfactor(0),
|
||||
crouchoffset(0),
|
||||
crouchviewdelta(0),
|
||||
ConversationNPC(0),
|
||||
ConversationPC(0),
|
||||
ConversationNPCAngle(0),
|
||||
ConversationFaceTalker(0),
|
||||
MUSINFOactor(0),
|
||||
MUSINFOtics(-1)
|
||||
ConversationFaceTalker(0)
|
||||
{
|
||||
memset (&cmd, 0, sizeof(cmd));
|
||||
memset (frags, 0, sizeof(frags));
|
||||
|
|
|
@ -317,7 +317,7 @@ void FWadCollection::AddFile (const char *filename, FileReader *wadinfo)
|
|||
sprintf(cksumout + (j * 2), "%02X", cksum[j]);
|
||||
}
|
||||
|
||||
fprintf(hashfile, "file: %s, hash: %s, size: %d\n", filename, cksumout, reader->GetLength());
|
||||
fprintf(hashfile, "file: %s, hash: %s, size: %ld\n", filename, cksumout, reader->GetLength());
|
||||
}
|
||||
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue