mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
d/remote: Use same return type as in interface.
Fixes GCC 13 warning [-Wenum-int-mismatch]. Use same return type in for r_create_devices definition in r_hub.c as in the declaration in r_interface.h. The function was already returning correct xrt_result_t.
This commit is contained in:
parent
a13ff394a5
commit
6956042fb4
|
@ -376,7 +376,7 @@ r_hub_system_devices_destroy(struct xrt_system_devices *xsysd)
|
|||
*
|
||||
*/
|
||||
|
||||
int
|
||||
xrt_result_t
|
||||
r_create_devices(uint16_t port, struct xrt_system_devices **out_xsysd)
|
||||
{
|
||||
struct r_hub *r = U_TYPED_CALLOC(struct r_hub);
|
||||
|
|
Loading…
Reference in a new issue