summaryrefslogtreecommitdiff
path: root/src/d_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/d_main.c')
-rw-r--r--src/d_main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/d_main.c b/src/d_main.c
index ab85e1d0..aaed9a62 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: d_main.c 8 2005-07-23 16:44:57Z fraggle $
+// $Id: d_main.c 37 2005-08-04 18:42:15Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.3 2005/08/04 18:42:15 fraggle
+// Silence compiler warnings
+//
// Revision 1.2 2005/07/23 16:44:55 fraggle
// Update copyright to GNU GPL
//
@@ -38,7 +41,7 @@
//-----------------------------------------------------------------------------
-static const char rcsid[] = "$Id: d_main.c 8 2005-07-23 16:44:57Z fraggle $";
+static const char rcsid[] = "$Id: d_main.c 37 2005-08-04 18:42:15Z fraggle $";
#define BGCOLOR 7
#define FGCOLOR 8
@@ -163,7 +166,7 @@ int eventtail;
void D_PostEvent (event_t* ev)
{
events[eventhead] = *ev;
- eventhead = (++eventhead)&(MAXEVENTS-1);
+ eventhead = (eventhead + 1) & (MAXEVENTS-1);
}