linuxwacom / xf86-input-wacom

X.Org driver for Wacom devices
356 stars 45 forks source link

wcmUSB: fix undefined behavior for bit-shifting #330

Closed whot closed 8 months ago

whot commented 8 months ago

This fixes #329 which fixed the undefined behavior but that was caused by the wrong type. cc @jigpu

jigpu commented 8 months ago

LGTM. Wish I had thought of it :sweat_smile: