Forráskód Böngészése

fix armcc compile error

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1749 bbd45198-f89e-11dd-88c7-29a3b14d5316
qiuyiuestc@gmail.com 13 éve
szülő
commit
6ab04c6746
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/module.c

+ 1 - 1
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);