diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-22 11:33:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-25 11:11:30 -0400 |
commit | ef2a449cceceb777126119d20c15cda707c17d61 (patch) | |
tree | 149e76c9a0d6b0a2637c79a6014d00b4bc3eadf5 /src/or/scheduler.h | |
parent | 230a33679814f3074c0ba43e42dc7b38b5342c10 (diff) | |
download | tor-ef2a449cceceb777126119d20c15cda707c17d61.tar.gz tor-ef2a449cceceb777126119d20c15cda707c17d61.zip |
sched: Make KISTSchedRunInterval non negative
Fixes #23539.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/scheduler.h')
-rw-r--r-- | src/or/scheduler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/scheduler.h b/src/or/scheduler.h index f740230b1e..e32a662c89 100644 --- a/src/or/scheduler.h +++ b/src/or/scheduler.h @@ -189,7 +189,7 @@ int scheduler_can_use_kist(void); void scheduler_kist_set_full_mode(void); void scheduler_kist_set_lite_mode(void); scheduler_t *get_kist_scheduler(void); -int32_t kist_scheduler_run_interval(const networkstatus_t *ns); +uint32_t kist_scheduler_run_interval(const networkstatus_t *ns); #ifdef TOR_UNIT_TESTS extern int32_t sched_run_interval; |