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:
Simon Zeni 2024-06-18 12:36:20 -04:00
parent 6d711f1c27
commit 9221bf797c

View file

@ -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];
}