[Bf-blender-cvs] [40cddcd917a] master: Cleanup: Fix incompatible pointer types warnings
Peter Kim
noreply at git.blender.org
Fri Feb 18 15:22:10 CET 2022
Commit: 40cddcd917a7de26a89908b82c6583ace8f76641
Author: Peter Kim
Date: Fri Feb 18 23:21:53 2022 +0900
Branches: master
https://developer.blender.org/rB40cddcd917a7de26a89908b82c6583ace8f76641
Cleanup: Fix incompatible pointer types warnings
===================================================================
M source/blender/windowmanager/xr/intern/wm_xr_action.c
===================================================================
diff --git a/source/blender/windowmanager/xr/intern/wm_xr_action.c b/source/blender/windowmanager/xr/intern/wm_xr_action.c
index 0ce0837d83a..6750e7a7d77 100644
--- a/source/blender/windowmanager/xr/intern/wm_xr_action.c
+++ b/source/blender/windowmanager/xr/intern/wm_xr_action.c
@@ -254,7 +254,7 @@ bool WM_xr_action_create(wmXrData *xr,
GHOST_XrActionInfo info = {
.name = action_name,
.count_subaction_paths = count,
- .subaction_paths = subaction_paths,
+ .subaction_paths = (const char **)subaction_paths,
.states = action->states,
.float_thresholds = action->float_thresholds,
.axis_flags = (int16_t *)action->axis_flags,
@@ -369,7 +369,7 @@ bool WM_xr_action_binding_create(wmXrData *xr,
.action_name = action_name,
.profile_path = profile_path,
.count_subaction_paths = count,
- .subaction_paths = subaction_paths,
+ .subaction_paths = (const char **)subaction_paths,
.bindings = binding_infos,
};
More information about the Bf-blender-cvs
mailing list