summaryrefslogtreecommitdiff
path: root/src/r_things.c
diff options
context:
space:
mode:
authorSimon Howard2006-10-11 22:55:06 +0000
committerSimon Howard2006-10-11 22:55:06 +0000
commit396de0009d3a045f10e101efc2d3f1b8eb07ab16 (patch)
tree79319fb3b2ec55f488e584daa97b7326c75155df /src/r_things.c
parent5db5fe7d42dbcc3912762c6327e34919dc131ca7 (diff)
downloadchocolate-doom-396de0009d3a045f10e101efc2d3f1b8eb07ab16.tar.gz
chocolate-doom-396de0009d3a045f10e101efc2d3f1b8eb07ab16.tar.bz2
chocolate-doom-396de0009d3a045f10e101efc2d3f1b8eb07ab16.zip
Shut up compiler warnings.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 694
Diffstat (limited to 'src/r_things.c')
-rw-r--r--src/r_things.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/r_things.c b/src/r_things.c
index 4e4b051a..2e56430f 100644
--- a/src/r_things.c
+++ b/src/r_things.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: r_things.c 177 2005-10-08 21:02:55Z fraggle $
+// $Id: r_things.c 694 2006-10-11 22:55:06Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -48,7 +48,7 @@
static const char
-rcsid[] = "$Id: r_things.c 177 2005-10-08 21:02:55Z fraggle $";
+rcsid[] = "$Id: r_things.c 694 2006-10-11 22:55:06Z fraggle $";
#include <stdio.h>
@@ -528,7 +528,7 @@ void R_ProjectSprite (mobj_t* thing)
// decide which patch to use for sprite relative to player
#ifdef RANGECHECK
- if ((unsigned)thing->sprite >= numsprites)
+ if (thing->sprite >= (unsigned int) numsprites)
I_Error ("R_ProjectSprite: invalid sprite number %i ",
thing->sprite);
#endif
@@ -681,7 +681,7 @@ void R_DrawPSprite (pspdef_t* psp)
// decide which patch to use
#ifdef RANGECHECK
- if ( (unsigned)psp->state->sprite >= numsprites)
+ if ( (unsigned)psp->state->sprite >= (unsigned int) numsprites)
I_Error ("R_ProjectSprite: invalid sprite number %i ",
psp->state->sprite);
#endif