Skip to content

Commit 9b3faf9

Browse files
committed
fix
1 parent 4d28376 commit 9b3faf9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/audio/module_adapter/library/userspace_proxy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ static int userspace_proxy_init(struct processing_module *mod)
480480
return ret;
481481

482482
if (params->ext.agent.start_fn == system_agent_start)
483-
module_set_private_data(mod, params->ext.agent.out_interface);
483+
module_set_private_data(mod, (void*)params->ext.agent.out_interface);
484484
else
485485
mod->user_ctx->interface = params->ext.agent.out_interface;
486486
}

src/include/sof/audio/module_adapter/library/userspace_proxy_user.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ struct module_agent_params {
1313
system_agent_start_fn start_fn;
1414
struct system_agent_params params;
1515
byte_array_t mod_cfg;
16-
void *out_interface;
16+
const void *out_interface;
1717
};
1818

1919
struct module_large_cfg_set_params {

0 commit comments

Comments
 (0)