diff options
author | Peter Kim <pk15950@gmail.com> | 2022-02-18 17:21:53 +0300 |
---|---|---|
committer | Peter Kim <pk15950@gmail.com> | 2022-02-18 17:21:53 +0300 |
commit | 40cddcd917a7de26a89908b82c6583ace8f76641 (patch) | |
tree | d698fd178a44708d35827dd7ffed169abe75e562 /source | |
parent | af308049bc6d07e89ccf1e942a3a934453688be8 (diff) |
Cleanup: Fix incompatible pointer types warnings
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/xr/intern/wm_xr_action.c | 4 |
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, }; |