Cleanup: Fix incompatible pointer types warnings

This commit is contained in:
Peter Kim 2022-02-18 23:21:53 +09:00
parent af308049bc
commit 40cddcd917
1 changed files with 2 additions and 2 deletions

View File

@ -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,
};