From 7fa77be7bfebe8be918df0cb9584d737199a2213 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 4 Oct 2025 15:51:24 +0200 Subject: write_p_inout: usage of 'intmax_t' --- FICS/playerdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS') diff --git a/FICS/playerdb.c b/FICS/playerdb.c index d8a5d96..8d6efa4 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -1646,8 +1646,8 @@ write_p_inout(int inout, int p, char *file, int maxlines) return; } - fprintf(fp, "%d %s %ld %d %s\n", inout, parray[p].name, - (long int)time(NULL), parray[p].registered, + fprintf(fp, "%d %s %jd %d %s\n", inout, parray[p].name, + (intmax_t)time(NULL), parray[p].registered, dotQuad(parray[p].thisHost)); fclose(fp); -- cgit v1.2.3