mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
d/steamvr_lh: fix for loop type comparison warning
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2140>
This commit is contained in:
parent
6d711f1c27
commit
9221bf797c
|
@ -840,7 +840,7 @@ steamvr_lh_create_devices(struct xrt_session_event_sink *broadcast,
|
|||
}
|
||||
|
||||
// Include the controllers
|
||||
for (int i = 0; i < MAX_CONTROLLERS; i++) {
|
||||
for (size_t i = 0; i < MAX_CONTROLLERS; i++) {
|
||||
if (svrs->ctx->controller[i]) {
|
||||
xsysd->xdevs[xsysd->xdev_count++] = svrs->ctx->controller[i];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue