summaryrefslogtreecommitdiff
path: root/src/hexen/h2_main.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-14 21:29:13 +0000
committerSimon Howard2008-09-14 21:29:13 +0000
commit609dca9fdf9a03500c0f4023da7bcc4389f36c52 (patch)
tree678cb25f1968bd8e282fa1d681458959f82a04e0 /src/hexen/h2_main.c
parent7019bf097b3adf2e079e92d363723e0c9b923d0c (diff)
downloadchocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.tar.gz
chocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.tar.bz2
chocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.zip
Silence some compiler warnings on heretic/hexen code.
Subversion-branch: /branches/raven-branch Subversion-revision: 1228
Diffstat (limited to 'src/hexen/h2_main.c')
-rw-r--r--src/hexen/h2_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c
index 2313b463..60ae9f64 100644
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -536,7 +536,7 @@ void H2_ProcessEvents(void)
event_t *ev;
for (; eventtail != eventhead;
- eventtail = (++eventtail) & (MAXEVENTS - 1))
+ eventtail = (eventtail + 1) & (MAXEVENTS - 1))
{
ev = &events[eventtail];
if (F_Responder(ev))
@@ -562,7 +562,7 @@ void H2_ProcessEvents(void)
void H2_PostEvent(event_t * ev)
{
events[eventhead] = *ev;
- eventhead = (++eventhead) & (MAXEVENTS - 1);
+ eventhead = (eventhead + 1) & (MAXEVENTS - 1);
}
//==========================================================================