fix linux builds

This commit is contained in:
Enno Rehling 2015-09-06 19:08:57 +02:00
parent b8df3f3a5f
commit f84133eb53
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <limits.h>
/* exports: */ /* exports: */
plane *arena = NULL; plane *arena = NULL;

View File

@ -208,7 +208,7 @@ void score(void)
} }
} }
fprintf(scoreFP, "%d:%d:%d:%d", a->id, alliance_factions, fprintf(scoreFP, "%d:%d:%d:%lld", a->id, alliance_factions,
alliance_number, alliance_score); alliance_number, alliance_score);
if (token != NULL) if (token != NULL)
fprintf(scoreFP, ":%d", grails); fprintf(scoreFP, ":%d", grails);