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

Thanks for the bug report, I have verified the compile
warning and converted your written solution to a small
patch that I will commit soon.


-----------------------------------------------------------------------
ガソリンを持ってきた。今夜は燃えようぜ!
diff --git a/server/sernet.c b/server/sernet.c
index e742f1a..1e933a7 100644
--- a/server/sernet.c
+++ b/server/sernet.c
@@ -711,7 +711,8 @@ enum server_events server_sniff_all_input(void)
       if (didget >= 1) {
         buffer[didget-1] = '\0'; /* overwrite newline character */
         didget--;
-        freelog(LOG_DEBUG, "Got line: \"%s\" (%ld, %ld)", buffer, didget, len);
+        freelog(LOG_DEBUG, "Got line: \"%s\" (%ld, %ld)", buffer,
+                (long int) didget, (long int) len);
       }
 #else  /* HAVE_GETLINE */
       buffer = malloc(BUF_SIZE + 1);
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to