From 558d1ee65162204947e7ab612fe20ac385640b5e Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 4 Oct 2025 15:37:27 +0200 Subject: com_uptime: changed the type for 'uptime' --- FICS/comproc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FICS') diff --git a/FICS/comproc.c b/FICS/comproc.c index b2504fd..2bb5a88 100644 --- a/FICS/comproc.c +++ b/FICS/comproc.c @@ -685,9 +685,9 @@ com_password(int p, param_list param) PUBLIC int com_uptime(int p, param_list param) { - int days, hours, mins, secs; - struct rusage ru; - unsigned long int uptime = (time(NULL) - startuptime); + const uint64_t uptime = (time(NULL) - startuptime); + int days, hours, mins, secs; + struct rusage ru; (void) param; // XXX: unused -- cgit v1.2.3