diff --git a/lib/c-api/wasmer_wasm.h b/lib/c-api/wasmer_wasm.h index 024304011..6dffd665d 100644 --- a/lib/c-api/wasmer_wasm.h +++ b/lib/c-api/wasmer_wasm.h @@ -158,7 +158,7 @@ void *wasm_instance_get_vmctx_ptr(const wasm_instance_t *instance); void wasm_module_name(const wasm_module_t *module, wasm_name_t *out); -bool wasm_module_set_name(const wasm_module_t *module, const wasm_name_t *name); +bool wasm_module_set_name(wasm_module_t *module, const wasm_name_t *name); /** * Gets the length in bytes of the last error if any.