From 3eb633e1e6a0b212683664b6b56580f1a04d517c Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 4 Mar 2010 08:42:18 +0100 Subject: [PATCH] Remove the invalid cast in time() parameter, as reported by Marius Tomaschewski. --- src/pluto/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluto/timer.c b/src/pluto/timer.c index 74806a40c..b112d67f6 100644 --- a/src/pluto/timer.c +++ b/src/pluto/timer.c @@ -48,7 +48,7 @@ time_t now(void) { static time_t delta = 0 , last_time = 0; - time_t n = time((time_t)NULL); + time_t n = time(NULL); passert(n != (time_t)-1); if (last_time > n)