From: JengHyun Kang Date: Wed, 7 Jun 2017 11:20:56 +0000 (+0900) Subject: evdev: casting unsigned int to int to compare value X-Git-Tag: accepted/tizen/unified/20240105.013022~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eeb74848969d85114022a1ee94fecd6c0714cf18;p=platform%2Fupstream%2Flibinput.git evdev: casting unsigned int to int to compare value Change-Id: I3c1a3da814b89af44e3d6e93bbad2cc7c2535b70 --- diff --git a/src/evdev-fallback.c b/src/evdev-fallback.c index 6f175555..97829298 100644 --- a/src/evdev-fallback.c +++ b/src/evdev-fallback.c @@ -496,7 +496,7 @@ fallback_process_touch_extra_aux_data(struct fallback_dispatch *dispatch, struct list *current_axis_list; if (!dispatch->mt.aux_data_list) return false; - if (dispatch->mt.slot < 0 || dispatch->mt.slot >= dispatch->mt.slots_len) + if (dispatch->mt.slot < 0 || dispatch->mt.slot >= (int)dispatch->mt.slots_len) return false; current_axis_list = &dispatch->mt.aux_data_list[dispatch->mt.slot];