aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-11-24 12:30:25 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-11-24 12:30:25 +0100
commit5c8f1ae0b59b03e0ff33fb55eaf064b1068c0661 (patch)
treea5579a031595dacfb6eef58bd5355d8de32f84dd
parent19be9464fc36ad99f19718ab983f152b55228da7 (diff)
WritePlayerFile: fprintf: fixed incorrect format
-rw-r--r--FICS/playerdb.c6
1 files 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),