From 3307af43c59e1d61f8f31b3fddfb9fdcd53992b0 Mon Sep 17 00:00:00 2001 From: shdown Date: Sat, 30 Aug 2014 14:33:42 +0400 Subject: input: make ar_rate and ar_delay fields of input_ctx signed ar_rate is set to -1 when autorepeat is disabled; there is no reason for ar_delay to stay unsigned. --- input/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index db6e26aab5..d2a57c726e 100644 --- a/input/input.c +++ b/input/input.c @@ -134,8 +134,8 @@ struct input_ctx { int64_t last_ar; // Autorepeat config - unsigned int ar_delay; - unsigned int ar_rate; + int ar_delay; + int ar_rate; // Maximum number of queued commands from keypresses (limit to avoid // repeated slow commands piling up) int key_fifo_size; -- cgit v1.2.3