From 5d364ea522c83627f679e7c0047f70794be4de92 Mon Sep 17 00:00:00 2001 From: Nishi Date: Wed, 18 Sep 2024 21:30:41 +0000 Subject: [PATCH] fix mingw git-svn-id: file:///raid/svn-personal/tewi/trunk@68 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/server.c b/Server/server.c index 3d7bad5..4618e65 100644 --- a/Server/server.c +++ b/Server/server.c @@ -714,9 +714,9 @@ struct thread_entry { void tw_server_loop(void) { struct timeval tv; + int i; #ifdef __MINGW32__ struct thread_entry threads[2048]; - int i; for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++){ threads[i].used = false; } -- 2.43.0