diff options
author | root <root> | 2007-12-11 04:08:54 +0000 |
---|---|---|
committer | root <root> | 2007-12-11 04:08:54 +0000 |
commit | 1e5704b50a7d4be558050116622685a63b78ce5a (patch) | |
tree | 54a20a03df1f06faf4dc0c1d93e73309856cb65e /ev.c | |
parent | 679f7f056114cc6ce35bab04607c83a069e5343d (diff) |
the assert triggered, no explanation forthcoming, this might help
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1239,7 +1239,7 @@ periodics_reify (EV_P) } else if (w->interval) { - ((WT)w)->at = w->offset + floor ((ev_rt_now - w->offset) / w->interval + 1.) * w->interval; + ((WT)w)->at = w->offset + (floor ((ev_rt_now - w->offset) / w->interval) + 1.) * w->interval; assert (("ev_periodic timeout in the past detected while processing timers, negative interval?", ((WT)w)->at > ev_rt_now)); downheap ((WT *)periodics, periodiccnt, 0); } |