]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
another attempt to fix the warnings
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Apr 2006 11:24:19 +0000 (11:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Apr 2006 11:24:19 +0000 (11:24 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6310 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index f27b90975c5271acd2cab9a8ca3e8cbafb586557..e0883aeb5716e1be59056d202cd2b120f56a79de 100644 (file)
--- a/host.c
+++ b/host.c
@@ -547,7 +547,8 @@ void Host_Main(void)
        static double time1 = 0;
        static double time2 = 0;
        static double time3 = 0;
-       double frameoldtime, framenewtime, frametime, cl_timer, sv_timer;
+       // these are static because of setjmp/longjmp warnings in mingw32 gcc 2.95.3
+       static double frameoldtime, framenewtime, frametime, cl_timer, sv_timer;
 
        Host_Init();