summaryrefslogtreecommitdiff
path: root/src/g_game.c
diff options
context:
space:
mode:
authorRussell Rice2006-09-21 11:13:28 +0000
committerRussell Rice2006-09-21 11:13:28 +0000
commit6339c4cbeb608b008eafe0b1e358285ae08ef902 (patch)
tree10ea17c49b4d38a8b5ec769ccee965d30ab1a08c /src/g_game.c
parent16c1bc056105cee72e86b3dda1cc323f1be2c7b2 (diff)
downloadchocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.tar.gz
chocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.tar.bz2
chocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.zip
Fix a lot of warnings (for fussy compilers) and one always-true check
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 641
Diffstat (limited to 'src/g_game.c')
-rw-r--r--src/g_game.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/g_game.c b/src/g_game.c
index 3d20d9dc..94a56ff8 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: g_game.c 581 2006-08-31 18:13:04Z fraggle $
+// $Id: g_game.c 641 2006-09-21 11:13:28Z rtc_marine $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -134,7 +134,7 @@
static const char
-rcsid[] = "$Id: g_game.c 581 2006-08-31 18:13:04Z fraggle $";
+rcsid[] = "$Id: g_game.c 641 2006-09-21 11:13:28Z rtc_marine $";
#include <string.h>
#include <stdlib.h>
@@ -348,7 +348,7 @@ int vanilla_demo_limit = 1;
int G_CmdChecksum (ticcmd_t* cmd)
{
- int i;
+ size_t i;
int sum = 0;
for (i=0 ; i< sizeof(*cmd)/4 - 1 ; i++)