From 227d86d227c6951ee2bd98388e7960c479c2b2e6 Mon Sep 17 00:00:00 2001 From: zakk Date: Wed, 31 Aug 2005 18:00:00 +0000 Subject: First diff from Andreas Schneider: here are gcc4 signedness fixes for latest svn :) git-svn-id: svn://svn.icculus.org/quake3/trunk@50 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/botlib/l_precomp.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'code/botlib') diff --git a/code/botlib/l_precomp.c b/code/botlib/l_precomp.c index ae82981..5122931 100644 --- a/code/botlib/l_precomp.c +++ b/code/botlib/l_precomp.c @@ -705,7 +705,12 @@ int PC_ExpandBuiltinDefine(source_t *source, token_t *deftoken, define_t *define token_t **firsttoken, token_t **lasttoken) { token_t *token; +#ifdef _WIN32 unsigned long t; // time_t t; //to prevent LCC warning +#else + time_t t; +#endif + char *curtime; token = PC_CopyToken(deftoken); -- cgit v1.2.3