From 9221bf797cff0516ef1a8295f0d54d7a0a76d946 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Tue, 18 Jun 2024 12:36:20 -0400 Subject: [PATCH] d/steamvr_lh: fix for loop type comparison warning Part-of: --- src/xrt/drivers/steamvr_lh/steamvr_lh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp index a654cbfab..9891d1d9b 100644 --- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp +++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp @@ -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]; }