openbsd-ports/misc/calentool/patches/patch-13
1998-09-30 16:27:52 +00:00

12 lines
226 B
Plaintext

--- utils.c.orig Tue Sep 29 22:38:24 1998
+++ utils.c Wed Sep 30 11:36:47 1998
@@ -170,7 +170,7 @@
#else
gettimeofday(&tv, 0);
#endif
- tm = localtime(&tv.tv_sec);
+ tm = localtime((time_t*)&tv.tv_sec);
today = *tm;