From 2cc0db0c264e064ee203c2f19b91f7ba013fdf25 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 2 Feb 2013 19:32:46 +0000 Subject: All argv types should be char * const * not const char ** git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5599 42af7a65-404d-4744-a932-0658087f49c3 --- apps/nshlib/nsh_builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/nshlib') diff --git a/apps/nshlib/nsh_builtin.c b/apps/nshlib/nsh_builtin.c index 0d5a0231c..0819377de 100644 --- a/apps/nshlib/nsh_builtin.c +++ b/apps/nshlib/nsh_builtin.c @@ -126,7 +126,7 @@ int nsh_builtin(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd, * applications. */ - ret = exec_builtin(cmd, (FAR const char **)argv, redirfile, oflags); + ret = exec_builtin(cmd, (FAR char * const *)argv, redirfile, oflags); if (ret >= 0) { /* The application was successfully started with pre-emption disabled. -- cgit v1.2.3