tangled
alpha
login
or
join now
matrixfurry.com
/
monado
0
fork
atom
The open source OpenXR runtime
0
fork
atom
overview
issues
pulls
pipelines
d/remote: Fix warning when building with clang
Jakob Bornecrantz
5 years ago
09ba7fc1
26cd22b2
+1
-1
1 changed file
expand all
collapse all
unified
split
src
xrt
drivers
remote
r_hub.c
+1
-1
src/xrt/drivers/remote/r_hub.c
···
81
81
struct sockaddr_in addr = {0};
82
82
int ret, conn_fd;
83
83
84
84
-
unsigned addr_length = sizeof(addr);
84
84
+
socklen_t addr_length = (socklen_t)sizeof(addr);
85
85
ret = accept(r->accept_fd, (struct sockaddr *)&addr, &addr_length);
86
86
if (ret < 0) {
87
87
U_LOG_E("accept failed: %i", ret);