From 61e77600041ba534d824943320e7ddddb8e4f6ce Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 16 Sep 2008 00:07:46 +0000 Subject: Clean up some warnings in the Hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1232 --- src/hexen/sv_save.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hexen/sv_save.c') diff --git a/src/hexen/sv_save.c b/src/hexen/sv_save.c index e2fba15a..7a2134f7 100644 --- a/src/hexen/sv_save.c +++ b/src/hexen/sv_save.c @@ -379,7 +379,7 @@ void SV_LoadGame(int slot) SavePtr.b = SaveBuffer + HXS_DESCRIPTION_LENGTH; // Check the version text - if (strcmp(SavePtr.b, HXS_VERSION_TEXT)) + if (strcmp((char *) SavePtr.b, HXS_VERSION_TEXT)) { // Bad version return; } @@ -475,8 +475,8 @@ void SV_MapTeleport(int map, int position) boolean rClass; boolean playerWasReborn; boolean oldWeaponowned[NUMWEAPONS]; - int oldKeys; - int oldPieces; + int oldKeys = 0; + int oldPieces = 0; int bestWeapon; if (!deathmatch) -- cgit v1.2.3