mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-29 02:00:08 +01: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) {
|
||||
case MSC_SERIAL:
|
||||
if (e->value != (signed)tablet->current_tool_serial &&
|
||||
if (e->value != (int32_t)tablet->current_tool_serial &&
|
||||
e->value != -1) {
|
||||
tablet->current_tool_serial = e->value;
|
||||
tablet_set_status(tablet, TABLET_TOOL_UPDATED);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue