Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kim <pk15950@gmail.com>2022-02-18 17:21:53 +0300
committerPeter Kim <pk15950@gmail.com>2022-02-18 17:21:53 +0300
commit40cddcd917a7de26a89908b82c6583ace8f76641 (patch)
treed698fd178a44708d35827dd7ffed169abe75e562
parentaf308049bc6d07e89ccf1e942a3a934453688be8 (diff)
Cleanup: Fix incompatible pointer types warnings
-rw-r--r--source/blender/windowmanager/xr/intern/wm_xr_action.c4
1 files changed, 2 insertions, 2 deletions
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,
};