diff --git a/src/xrt/drivers/ohmd/oh_device.c b/src/xrt/drivers/ohmd/oh_device.c index dba03e250..ea3fe9e90 100644 --- a/src/xrt/drivers/ohmd/oh_device.c +++ b/src/xrt/drivers/ohmd/oh_device.c @@ -703,14 +703,14 @@ u_compute_distortion_openhmd(struct openhmd_values *values, float u, float v, st } static bool -compute_distortion_openhmd(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result) +compute_distortion_openhmd(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) { struct oh_device *ohd = oh_device(xdev); return u_compute_distortion_openhmd(&ohd->distortion.openhmd[view], u, v, result); } static bool -compute_distortion_vive(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result) +compute_distortion_vive(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) { struct oh_device *ohd = oh_device(xdev); return u_compute_distortion_vive(&ohd->distortion.vive[view], u, v, result); diff --git a/src/xrt/drivers/simula/svr_hmd.c b/src/xrt/drivers/simula/svr_hmd.c index 38dfdbb66..00f50e796 100644 --- a/src/xrt/drivers/simula/svr_hmd.c +++ b/src/xrt/drivers/simula/svr_hmd.c @@ -127,7 +127,7 @@ svr_hmd_get_view_poses(struct xrt_device *xdev, //!@todo: remove hard-coding and move to u_distortion_mesh bool -svr_mesh_calc(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result) +svr_mesh_calc(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) { struct svr_hmd *svr = svr_hmd(xdev);