From 16cf1679e78c690869be3d26448a965e8d1330b0 Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Fri, 6 Feb 2015 16:26:28 +0000 Subject: Fix scheduler compilation on targets where char is unsigned. Per discussion with nickm, the `dir` argument should be a int rather than a signed char. Fixes bug #14764. --- src/or/scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/scheduler.h') diff --git a/src/or/scheduler.h b/src/or/scheduler.h index 70f6a39d4c..27dd2d8388 100644 --- a/src/or/scheduler.h +++ b/src/or/scheduler.h @@ -29,7 +29,7 @@ void scheduler_channel_wants_writes(channel_t *chan); MOCK_DECL(void,scheduler_release_channel,(channel_t *chan)); /* Notify scheduler of queue size adjustments */ -void scheduler_adjust_queue_size(channel_t *chan, char dir, uint64_t adj); +void scheduler_adjust_queue_size(channel_t *chan, int dir, uint64_t adj); /* Notify scheduler that a channel's queue position may have changed */ void scheduler_touch_channel(channel_t *chan); -- cgit v1.2.3-54-g00ecf