From 6ab04c67461987fae749795ad8a65fae65894a82 Mon Sep 17 00:00:00 2001 From: "qiuyiuestc@gmail.com" Date: Mon, 10 Oct 2011 23:14:54 +0000 Subject: [PATCH] fix armcc compile error git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1749 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);