diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:32:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:32:46 +0000 |
commit | 2cc0db0c264e064ee203c2f19b91f7ba013fdf25 (patch) | |
tree | 2397df4041c98231b56158d63389447d654f525a /apps/examples/elf/tests/task/task.c | |
parent | 60185fe969614b01d5dc57f3aa157b24d2901af6 (diff) | |
download | nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.tar.gz nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.tar.bz2 nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.zip |
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
Diffstat (limited to 'apps/examples/elf/tests/task/task.c')
-rw-r--r-- | apps/examples/elf/tests/task/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/elf/tests/task/task.c b/apps/examples/elf/tests/task/task.c index 15802fc00..a947aac73 100644 --- a/apps/examples/elf/tests/task/task.c +++ b/apps/examples/elf/tests/task/task.c @@ -128,7 +128,7 @@ int main(int argc, char **argv) child_argv[0] = child_arg; child_argv[1] = 0; - child_pid = task_create(child_name, 50, 512, child_task, (const char**)child_argv); + child_pid = task_create(child_name, 50, 512, child_task, (FAR char * const *)child_argv); if (child_pid < 0) { printf("Parent: task_create failed: %d\n", errno); |