configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-12-09 17:34:53 +00:00
parent bf079976cb
commit df5cae6bd5
2 changed files with 6 additions and 5 deletions

View File

@ -160,11 +160,11 @@ int nsh_consolemain(int argc, char *argv[])
}
}
/* Clean up */
/* Clean up. We do not get here, but this is necessary to keep some
* compilers happy. But others will complain that this code is not
* reachable.
*/
nsh_exit(&pstate->cn_vtbl, 0);
/* We do not get here, but this is necessary to keep some compilers happy */
return OK;
}

View File

@ -103,7 +103,7 @@ int mem_parse(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv,
pcvalue++;
lvalue = (unsigned long)strtol(pcvalue, NULL, 16);
if (lvalue > 0xffffffff)
if (lvalue > 0xffffffffL)
{
return -EINVAL;
}
@ -131,6 +131,7 @@ int mem_parse(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv,
{
mem->dm_count = 1;
}
return OK;
}