diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-01-29 15:37:59 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-01-29 15:37:59 +0100 |
commit | 9f3dc2901d780f5b833ecf5a6bd18aa4c1f95a00 (patch) | |
tree | 06dcd865097e3db45ae7726acb83d41bd0555f3d | |
parent | 0e35ffe3743f5e79decfaed8cf7a14ff3c4f26fd (diff) | |
parent | 83f9bdda86ad6e9b2e0ec04e130cf1d32d79a7c6 (diff) | |
download | ouroboros-9f3dc2901d780f5b833ecf5a6bd18aa4c1f95a00.tar.gz ouroboros-9f3dc2901d780f5b833ecf5a6bd18aa4c1f95a00.zip |
Merge branch 'testing' into be
-rw-r--r-- | src/lib/timerwheel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/timerwheel.c b/src/lib/timerwheel.c index 60fa9cda..ef8489bf 100644 --- a/src/lib/timerwheel.c +++ b/src/lib/timerwheel.c @@ -186,7 +186,7 @@ struct tw_f * timerwheel_start(struct timerwheel * tw, f->func = func; f->arg = arg; - assert(delay < tw->elements * tw->resolution); + assert(delay < (time_t) tw->elements * tw->resolution); pthread_mutex_lock(&tw->lock); @@ -205,7 +205,7 @@ int timerwheel_restart(struct timerwheel * tw, int pos; assert(tw); - assert(delay < tw->elements * tw->resolution); + assert(delay < (time_t) tw->elements * tw->resolution); pthread_mutex_lock(&tw->lock); |