13 lines
299 B
Plaintext
13 lines
299 B
Plaintext
|
$OpenBSD: patch-utils_c,v 1.1 2003/06/18 02:48:00 avsm Exp $
|
||
|
--- utils.c.orig Wed Sep 30 03:38:24 1998
|
||
|
+++ utils.c Wed Jun 18 03:41:50 2003
|
||
|
@@ -170,7 +170,7 @@ get_today()
|
||
|
#else
|
||
|
gettimeofday(&tv, 0);
|
||
|
#endif
|
||
|
- tm = localtime(&tv.tv_sec);
|
||
|
+ tm = localtime((time_t*)&tv.tv_sec);
|
||
|
|
||
|
today = *tm;
|
||
|
|