diff options
author | Russell Rice | 2006-09-21 11:13:28 +0000 |
---|---|---|
committer | Russell Rice | 2006-09-21 11:13:28 +0000 |
commit | 6339c4cbeb608b008eafe0b1e358285ae08ef902 (patch) | |
tree | 10ea17c49b4d38a8b5ec769ccee965d30ab1a08c /src/deh_cheat.c | |
parent | 16c1bc056105cee72e86b3dda1cc323f1be2c7b2 (diff) | |
download | chocolate-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/deh_cheat.c')
-rw-r--r-- | src/deh_cheat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deh_cheat.c b/src/deh_cheat.c index a61a15e6..a5fe2cde 100644 --- a/src/deh_cheat.c +++ b/src/deh_cheat.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: deh_cheat.c 417 2006-03-11 21:34:19Z fraggle $ +// $Id: deh_cheat.c 641 2006-09-21 11:13:28Z rtc_marine $ // // Copyright(C) 2005 Simon Howard // @@ -79,7 +79,7 @@ static deh_cheat_t allcheats[] = static deh_cheat_t *FindCheatByName(char *name) { - int i; + size_t i; for (i=0; i<sizeof(allcheats) / sizeof(*allcheats); ++i) { |