ref: 3c92c5807e2eacdf84932d385d5041dfb311a26c
parent: 97f0be5d839ae5ec5b4c4d28dcf850f7afe08555
author: Simon Howard <fraggle@gmail.com>
date: Sat May 9 12:11:46 EDT 2009
Fix compiler warnings. Subversion-branch: /branches/raven-branch Subversion-revision: 1515
--- a/src/doom/d_net.c
+++ b/src/doom/d_net.c
@@ -430,12 +430,13 @@
static int GetLowTic(void)
{
- int i;
int lowtic;
#ifdef FEATURE_MULTIPLAYER
if (net_client_connected)
{
+ int i;
+
lowtic = INT_MAX;
for (i=0; i<MAXPLAYERS; ++i)
--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -25,6 +25,8 @@
// d_net.c
// This version has the fixed ticdup code
+#include <stdlib.h>
+
#include "doomdef.h"
#include "doomkeys.h"