mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 18:38:07 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user