From 521a5eccd1c7161180b2663ae45f2b09e4aa331f Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 16 Mar 2025 12:45:23 +0100 Subject: Y2K38 safety --- FICS/command.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FICS/command.c') diff --git a/FICS/command.c b/FICS/command.c index 48c190f..2a7812d 100644 --- a/FICS/command.c +++ b/FICS/command.c @@ -1219,10 +1219,10 @@ PUBLIC int process_heartbeat(int *fd) { time_t now = time(NULL); - int time_since_last; - static int last_comfile = 0; - static int last_space = 0; - static int lastcalled = 0; + time_t time_since_last; + static time_t last_comfile = 0; + static time_t last_space = 0; + static time_t lastcalled = 0; if (lastcalled == 0) time_since_last = 0; -- cgit v1.2.3