diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-04-23 01:42:03 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-04-23 01:42:03 +0000 |
commit | 5bb3111c7dda1ae9135f43bc0b7652d95ea1aae1 (patch) | |
tree | bb812b3c14578db44c16f30ef37d2d00ba3d63f0 /coreutils/who.c | |
parent | 944d81cc9ebc98c17f74bdc295f09e9d0b84ee71 (diff) | |
download | busybox-w32-5bb3111c7dda1ae9135f43bc0b7652d95ea1aae1.tar.gz busybox-w32-5bb3111c7dda1ae9135f43bc0b7652d95ea1aae1.tar.bz2 busybox-w32-5bb3111c7dda1ae9135f43bc0b7652d95ea1aae1.zip |
cast the time pointer so gcc stops warning over nothing
git-svn-id: svn://busybox.net/trunk/busybox@10153 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 9561db132..0531326bd 100644 --- a/coreutils/who.c +++ b/coreutils/who.c | |||
@@ -74,7 +74,7 @@ extern int who_main(int argc, char **argv) | |||
74 | } else | 74 | } else |
75 | printf("%-8s ", "?"); | 75 | printf("%-8s ", "?"); |
76 | 76 | ||
77 | printf("%-12.12s %s\n", ctime(&(ut->ut_tv.tv_sec)) + 4, ut->ut_host); | 77 | printf("%-12.12s %s\n", ctime((time_t*)&(ut->ut_tv.tv_sec)) + 4, ut->ut_host); |
78 | } | 78 | } |
79 | } | 79 | } |
80 | endutent(); | 80 | endutent(); |