forked from pool/strongswan
12 lines
267 B
Diff
12 lines
267 B
Diff
|
--- src/pluto/timer.c
|
||
|
+++ src/pluto/timer.c 2010/03/02 17:03:41
|
||
|
@@ -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((time_t *)NULL);
|
||
|
|
||
|
passert(n != (time_t)-1);
|
||
|
if (last_time > n)
|