diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2025-10-04 15:37:27 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2025-10-04 15:37:27 +0200 |
commit | 558d1ee65162204947e7ab612fe20ac385640b5e (patch) | |
tree | 0acce1e59eee8dac9c70860d5eee1387827e95d2 /FICS/comproc.c | |
parent | 352155324092b28e02ff2ff901e866ec06417ecc (diff) |
com_uptime: changed the type for 'uptime'
Diffstat (limited to 'FICS/comproc.c')
-rw-r--r-- | FICS/comproc.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |