summaryrefslogtreecommitdiff
path: root/src/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index d61e1017e2..71b80c1b8a 100644
--- a/src/module.c
+++ b/src/module.c
@@ -863,7 +863,7 @@ rt_module_t rt_module_open(const char *path)
}
//name = _strip_name(path);
- name = path;
+ name = (char *)path;
module = rt_module_load(name, (void *)buffer);
rt_free(buffer);
//rt_free(name);