From b0405023b7f2fb93738ea4914605bc0015f830bf Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 13 Jul 2022 12:22:39 -0500 Subject: [PATCH] st/oxr: Resolve warning --- src/xrt/state_trackers/oxr/oxr_input_transform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/oxr/oxr_input_transform.c b/src/xrt/state_trackers/oxr/oxr_input_transform.c index 17f75acb4..8b52d6578 100644 --- a/src/xrt/state_trackers/oxr/oxr_input_transform.c +++ b/src/xrt/state_trackers/oxr/oxr_input_transform.c @@ -462,7 +462,7 @@ oxr_input_transform_create_chain_dpad(struct oxr_logger *log, .forceThreshold = 0.5f, .forceThresholdReleased = 0.4f, .centerRegion = 0.5f, - .wedgeAngle = M_PI_2, + .wedgeAngle = (float)M_PI_2, .isSticky = false, };