diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-18 12:44:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-18 12:44:26 -0400 |
commit | 290274dbb5428bc5d99926ce5d7f824165be84e8 (patch) | |
tree | 4a833a91c4d344c233fda29a9e9bbe6ba02802ea | |
parent | eba4743487acc7a0f7f67f0b22357b102b855b15 (diff) | |
download | tor-290274dbb5428bc5d99926ce5d7f824165be84e8.tar.gz tor-290274dbb5428bc5d99926ce5d7f824165be84e8.zip |
Add a cast so that 32-bit compilation goes without errorstor-0.3.2.1-alpha
-rw-r--r-- | src/or/scheduler_kist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c index e4ae071072..4713ffdff0 100644 --- a/src/or/scheduler_kist.c +++ b/src/or/scheduler_kist.c @@ -526,7 +526,7 @@ kist_scheduler_schedule(void) * negative and can NOT be smaller than sched_run_interval so values can * only go from 1000 usec (diff set to interval - 1) to 100000 usec (diff * set to 0) for the maximum allowed run interval (100ms). */ - next_run.tv_usec = (sched_run_interval - diff) * 1000; + next_run.tv_usec = (int) ((sched_run_interval - diff) * 1000); /* Readding an event reschedules it. It does not duplicate it. */ scheduler_ev_add(&next_run); } else { |