summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-08-01 14:29:55 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-08-01 14:29:55 -0700
commitbcd74f809413dee8682d8c51b08f6a6360c9b9e5 (patch)
treeb57c79f004230420286983829cf988b01c400645
parent26ef28fd82d610c1908ca9a8ae3fda75c52befa3 (diff)
Use time_t instead of long with time() & ctime()
Fixes: #1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpr.c b/xpr.c
index 90b1b66..8562e52 100644
--- a/xpr.c
+++ b/xpr.c
@@ -1376,7 +1376,7 @@ void ps_setup(
#else
struct passwd *pswd;
#endif
- long clock;
+ time_t clock;
int lm, bm; /* left (bottom) margin */
/* calculate margins */