<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40281 >

 $subject


 - ML

diff -Nurd -X.diff_ignore freeciv/server/sernet.c freeciv/server/sernet.c
--- freeciv/server/sernet.c     2008-05-04 16:48:09.000000000 +0300
+++ freeciv/server/sernet.c     2008-06-15 19:43:41.000000000 +0300
@@ -1127,7 +1127,11 @@
 ********************************************************************/
 static void send_lanserver_response(void)
 {
+#ifndef HAVE_WINSOCK
   unsigned char buffer[MAX_LEN_PACKET];
+#else  /* HAVE_WINSOCK */
+  char buffer[MAX_LEN_PACKET];
+#endif /* HAVE_WINSOCK */
   char hostname[512];
   char port[256];
   char version[256];
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to