diff options
author | Mike Frysinger | 2005-04-23 01:42:03 +0000 |
---|---|---|
committer | Mike Frysinger | 2005-04-23 01:42:03 +0000 |
commit | 5b2e27137d3468afb29df719e4b7d1e4da05cd48 (patch) | |
tree | bb812b3c14578db44c16f30ef37d2d00ba3d63f0 /coreutils/who.c | |
parent | 5cfa5ef6f358bb979b76f8927899b920074f698d (diff) | |
download | busybox-5b2e27137d3468afb29df719e4b7d1e4da05cd48.zip busybox-5b2e27137d3468afb29df719e4b7d1e4da05cd48.tar.gz |
cast the time pointer so gcc stops warning over nothing
Diffstat (limited to 'coreutils/who.c')
-rw-r--r-- | coreutils/who.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/who.c b/coreutils/who.c index 9561db1..0531326 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(); |