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:
parent
abb0b1267c
commit
2783ac3e60
1 changed files with 1 additions and 1 deletions
|
@ -1157,7 +1157,7 @@ fpi_device_identify_complete (FpDevice *device,
|
|||
}
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue