[BusyBox-cvs] svn commit: trunk/busybox/coreutils
vapier at busybox.net
vapier at busybox.net
Sat Apr 23 01:42:03 UTC 2005
Author: vapier
Date: 2005-04-22 19:42:03 -0600 (Fri, 22 Apr 2005)
New Revision: 10153
Log:
cast the time pointer so gcc stops warning over nothing
Modified:
trunk/busybox/coreutils/who.c
Changeset:
Modified: trunk/busybox/coreutils/who.c
===================================================================
--- trunk/busybox/coreutils/who.c 2005-04-23 01:41:51 UTC (rev 10152)
+++ trunk/busybox/coreutils/who.c 2005-04-23 01:42:03 UTC (rev 10153)
@@ -74,7 +74,7 @@
} 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();
More information about the busybox-cvs
mailing list