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:
Lubosz Sarnecki 2023-08-09 13:47:34 +02:00 committed by Jakob Bornecrantz
parent a13ff394a5
commit 6956042fb4

View file

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