fpi-device: Return proper type on identification success

Identify function is supposed to propagate a boolean value, but we make
it return an integer instead on idle, this can be normally the same in
most of architectures, but not in BE ones.

So, make it return the proper type.
Fixes test failures in s390x.

Related to #236
This commit is contained in:
Marco Trevisan (Treviño) 2020-12-02 17:05:01 +01:00 committed by Marco Trevisan
parent abb0b1267c
commit 2783ac3e60

View file

@ -1157,7 +1157,7 @@ fpi_device_identify_complete (FpDevice *device,
} }
else else
{ {
fpi_device_return_task_in_idle (device, FP_DEVICE_TASK_RETURN_INT, GINT_TO_POINTER (TRUE)); fpi_device_return_task_in_idle (device, FP_DEVICE_TASK_RETURN_BOOL, GUINT_TO_POINTER (TRUE));
} }
} }
else else