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:
Peter Hutterer 2014-06-17 14:13:01 +10:00
parent ee8fb790b0
commit f64a85c981

View file

@ -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);