From 5c8f1ae0b59b03e0ff33fb55eaf064b1068c0661 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 24 Nov 2024 12:30:25 +0100 Subject: WritePlayerFile: fprintf: fixed incorrect format --- FICS/playerdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FICS/playerdb.c b/FICS/playerdb.c index 91bdbb5..a52e194 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -1052,9 +1052,9 @@ WritePlayerFile(FILE *fp, int p) fprintf(fp, "%s\n", (pp->passwd ? pp->passwd : "NONE")); fprintf(fp, "%s\n", (pp->emailAddress ? pp->emailAddress : "NONE")); - fprintf(fp, "%u %u %u %u %u %u %jd %u %jd %u %u %u %u %u %u %jd %u %jd %u " - "%u %u %u %u %u %jd %u %jd %u %u %u %u %u %u %jd %u %jd %u %u %u %u %u " - "%u %jd %u %jd %d\n", + fprintf(fp, "%d %d %d %d %d %d %jd %d %jd %d %d %d %d %d %d %jd %d %jd %d " + "%d %d %d %d %d %jd %d %jd %d %d %d %d %d %d %jd %d %jd %d %d %d %d %d " + "%d %jd %d %jd %u\n", pp->s_stats.num, pp->s_stats.win, pp->s_stats.los, pp->s_stats.dra, pp->s_stats.rating, (int)(pp->s_stats.sterr * 10.0), -- cgit v1.2.3