projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
551ee2c
)
evdev: casting unsigned int to int to compare value
67/132767/2
accepted/tizen/4.0/unified/20170816.012030
accepted/tizen/4.0/unified/20170816.015047
accepted/tizen/unified/20170613.194737
submit/tizen/20170613.100404
submit/tizen_4.0/20170811.094300
submit/tizen_4.0/20170814.115522
submit/tizen_4.0_unified/20170814.115522
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Wed, 7 Jun 2017 11:20:56 +0000
(20:20 +0900)
committer
JeongHyun Kang
<jhyuni.kang@samsung.com>
Wed, 7 Jun 2017 11:22:01 +0000
(11:22 +0000)
Change-Id: I3c1a3da814b89af44e3d6e93bbad2cc7c2535b70
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index 369149b89ed434ed2d6ccf17dd3ebf9c2804a754..c29096f935f0354c7997e9b2022de47f2deb19af 100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-653,7
+653,7
@@
evdev_process_touch_extra_aux_data(struct evdev_device *device,
bool res = false;
if (!device->mt.aux_data_list) return false;
- if (device->mt.slot < 0 || device->mt.slot >= device->mt.slots_len)
+ if (device->mt.slot < 0 || device->mt.slot >=
(int)
device->mt.slots_len)
return false;
current_axis_list = &device->mt.aux_data_list[device->mt.slot];