diff options
Diffstat (limited to 'x11/xlockmore/patches/patch-modes_dclock.c')
-rw-r--r-- | x11/xlockmore/patches/patch-modes_dclock.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/x11/xlockmore/patches/patch-modes_dclock.c b/x11/xlockmore/patches/patch-modes_dclock.c index b48c4cb9fd3..9dc74332409 100644 --- a/x11/xlockmore/patches/patch-modes_dclock.c +++ b/x11/xlockmore/patches/patch-modes_dclock.c @@ -1,7 +1,21 @@ -$NetBSD: patch-modes_dclock.c,v 1.1 2012/10/15 15:29:10 is Exp $ +$NetBSD: patch-modes_dclock.c,v 1.2 2012/10/15 20:47:57 is Exp $ --- modes/dclock.c.orig 2012-01-23 13:19:21.000000000 +0000 +++ modes/dclock.c +@@ -376,11 +376,11 @@ static dclockstruct *dclocks = (dclockst + extern char *message; + + static unsigned long +-timeAtLastNewYear(long timeNow) ++timeAtLastNewYear(time_t timeNow) + { + struct tm *t; + +- t = localtime((const time_t *) &timeNow); ++ t = localtime(&timeNow); + return (unsigned long)(t->tm_year); + } + @@ -420,7 +420,7 @@ convert(double x, char *string) } |