From ab5184c275a05a6e6db6c95d4055b416fda4061c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 29 Oct 2014 21:02:44 +0100 Subject: fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/log-login-lastlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/log-login-lastlog.c') diff --git a/src/log-login-lastlog.c b/src/log-login-lastlog.c index fd0b617..1831b1e 100644 --- a/src/log-login-lastlog.c +++ b/src/log-login-lastlog.c @@ -37,7 +37,7 @@ int do_log(void) memset(&ll, 0, sizeof(ll)); - time(&t), ll.ll_time = t; + time(&t), ll.ll_time = (typeof(ll.ll_time))t; xstrcpy(ll.ll_line, ttyname); xstrcpy(ll.ll_host, hostname); -- cgit v1.2.3-70-g09d2