aboutsummaryrefslogtreecommitdiffstats
path: root/code/botlib
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-31 18:00:00 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-31 18:00:00 +0000
commit227d86d227c6951ee2bd98388e7960c479c2b2e6 (patch)
tree9a52b67cedd0be176d2b8a8be505a5b178f356b9 /code/botlib
parent389b14cfcd3855222e0fafbbc40cbb71df595fef (diff)
downloadioquake3-aero-227d86d227c6951ee2bd98388e7960c479c2b2e6.tar.gz
ioquake3-aero-227d86d227c6951ee2bd98388e7960c479c2b2e6.zip
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
Diffstat (limited to 'code/botlib')
-rw-r--r--code/botlib/l_precomp.c5
1 files changed, 5 insertions, 0 deletions
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);