mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-07 10:48:07 +02:00
tablet: use "int32_t", not "signed"
stdint is a lot nicer, and safer once we're in the habit. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Stephen Chandler Paul <thatslyude@gmail.com>
This commit is contained in:
parent
ee8fb790b0
commit
f64a85c981
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ tablet_process_misc(struct tablet_dispatch *tablet,
|
||||||
{
|
{
|
||||||
switch (e->code) {
|
switch (e->code) {
|
||||||
case MSC_SERIAL:
|
case MSC_SERIAL:
|
||||||
if (e->value != (signed)tablet->current_tool_serial &&
|
if (e->value != (int32_t)tablet->current_tool_serial &&
|
||||||
e->value != -1) {
|
e->value != -1) {
|
||||||
tablet->current_tool_serial = e->value;
|
tablet->current_tool_serial = e->value;
|
||||||
tablet_set_status(tablet, TABLET_TOOL_UPDATED);
|
tablet_set_status(tablet, TABLET_TOOL_UPDATED);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue