Skip to content

Commit 105af20

Browse files
committed
Merge branch 'for-6.12' into 'master'
2 parents 4f0ee05 + ed97629 commit 105af20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

4.18/wacom_wac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,9 +1373,9 @@ static void wacom_intuos_pro2_bt_pen(struct wacom_wac *wacom)
13731373
rotation -= 1800;
13741374

13751375
input_report_abs(pen_input, ABS_TILT_X,
1376-
(char)frame[7]);
1376+
(signed char)frame[7]);
13771377
input_report_abs(pen_input, ABS_TILT_Y,
1378-
(char)frame[8]);
1378+
(signed char)frame[8]);
13791379
input_report_abs(pen_input, ABS_Z, rotation);
13801380
input_report_abs(pen_input, ABS_WHEEL,
13811381
get_unaligned_le16(&frame[11]));

0 commit comments

Comments
 (0)