From: Denys Vlasenko Date: Sat, 26 Jan 2013 13:21:15 +0000 (+0100) Subject: ps: seconds_since_boot: uint64_t -> ulong X-Git-Tag: 1_22_0~309 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=17d4436424400517014da7bc46759985e0ea131b;p=oweals%2Fbusybox.git ps: seconds_since_boot: uint64_t -> ulong Even if long is 32-bit, 4 billion second uptime isn't likely :) Signed-off-by: Denys Vlasenko --- diff --git a/procps/ps.c b/procps/ps.c index 5f7372263..89cadad00 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -141,10 +141,7 @@ struct globals { unsigned terminal_width; #if ENABLE_FEATURE_PS_TIME unsigned kernel_HZ; - /* used to be long long, but 64 bits is enough - * (long long may become 128 bits in the future): - */ - uint64_t seconds_since_boot; + unsigned long seconds_since_boot; #endif } FIX_ALIASING; #define G (*(struct globals*)&bb_common_bufsiz1)