Skip to content
Snippets Groups Projects
Commit 3d991a3d authored by patacongo's avatar patacongo
Browse files

backout un-necessary main_t casts

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@829 42af7a65-404d-4744-a932-0658087f49c3
parent 7615eabc
No related branches found
No related tags found
No related merge requests found
......@@ -878,9 +878,9 @@ int nsh_parse(FAR struct nsh_vtbl_s *vtbl, char *cmdline)
#ifndef CONFIG_CUSTOM_STACK
ret = task_create("nsh_execute", priority, CONFIG_EXAMPLES_NSH_STACKSIZE,
(main_t)nsh_execute, &argv[1]);
nsh_execute, &argv[1]);
#else
ret = task_create("nsh_execute", priority, (main_t)nsh_execute, &argv[1]);
ret = task_create("nsh_execute", priority, nsh_execute, &argv[1]);
#endif
if (ret < 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment