From 5b2e27137d3468afb29df719e4b7d1e4da05cd48 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 23 Apr 2005 01:42:03 +0000 Subject: cast the time pointer so gcc stops warning over nothing --- coreutils/who.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/who.c') diff --git a/coreutils/who.c b/coreutils/who.c index 9561db132..0531326bd 100644 --- a/coreutils/who.c +++ b/coreutils/who.c @@ -74,7 +74,7 @@ extern int who_main(int argc, char **argv) } else printf("%-8s ", "?"); - printf("%-12.12s %s\n", ctime(&(ut->ut_tv.tv_sec)) + 4, ut->ut_host); + printf("%-12.12s %s\n", ctime((time_t*)&(ut->ut_tv.tv_sec)) + 4, ut->ut_host); } } endutent(); -- cgit v1.2.3