diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2025-03-16 12:45:23 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2025-03-16 12:45:23 +0100 |
commit | 521a5eccd1c7161180b2663ae45f2b09e4aa331f (patch) | |
tree | d961521ff9d8e88626adb2cc4e6f5e09703be7ec /FICS/command.c | |
parent | 3fcafab0e8d1ce62ae8bbebf513b3472a5af1ca1 (diff) |
Y2K38 safety
Diffstat (limited to 'FICS/command.c')
-rw-r--r-- | FICS/command.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |