Follow-up Comment #3, bug #14387 (project freeciv):
What do you think of my patch, does it works for you? Then, I would commit
one of those patch as soon as possible.
Index: server/console.c
===================================================================
--- server/console.c (révision 16001)
+++ server/console.c (copie de travail)
@@ -136,7 +136,7 @@
void con_write(enum rfc_status rfc_status, const char *message, ...)
{
/* First buffer contains featured text tags */
- static char buf1[(int)trunc(MAX_LEN_CONSOLE_LINE * 1.5)];
+ static char buf1[(MAX_LEN_CONSOLE_LINE * 3) / 2];
static char buf2[MAX_LEN_CONSOLE_LINE];
va_list args;
(file #6821)
_______________________________________________________
Additional Item Attachment:
File name: trunk_S2_2_compile_error.diff Size:0 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?14387>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev