diff options
author | Simon Howard | 2006-10-11 22:55:06 +0000 |
---|---|---|
committer | Simon Howard | 2006-10-11 22:55:06 +0000 |
commit | 396de0009d3a045f10e101efc2d3f1b8eb07ab16 (patch) | |
tree | 79319fb3b2ec55f488e584daa97b7326c75155df /src/r_plane.c | |
parent | 5db5fe7d42dbcc3912762c6327e34919dc131ca7 (diff) | |
download | chocolate-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_plane.c')
-rw-r--r-- | src/r_plane.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/r_plane.c b/src/r_plane.c index 5c9cb745..00ad8b7a 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: r_plane.c 8 2005-07-23 16:44:57Z fraggle $ +// $Id: r_plane.c 694 2006-10-11 22:55:06Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -38,7 +38,7 @@ static const char -rcsid[] = "$Id: r_plane.c 8 2005-07-23 16:44:57Z fraggle $"; +rcsid[] = "$Id: r_plane.c 694 2006-10-11 22:55:06Z fraggle $"; #include <stdlib.h> @@ -143,9 +143,9 @@ R_MapPlane #ifdef RANGECHECK if (x2 < x1 - || x1<0 - || x2>=viewwidth - || (unsigned)y>viewheight) + || x1 < 0 + || x2 >= viewwidth + || y > viewheight) { I_Error ("R_MapPlane: %i, %i at %i",x1,x2,y); } |