diff options
author | Daniel Agar <daniel@agar.ca> | 2014-12-22 17:09:43 -0500 |
---|---|---|
committer | Daniel Agar <daniel@agar.ca> | 2014-12-22 17:56:59 -0500 |
commit | d511e39ea7a3f1e0cb672b14598e18a7df18156a (patch) | |
tree | 1c2994b2cc65558bd469b111ffd92eafa5460f15 /src/modules/commander/commander.cpp | |
parent | d54b46355ce0f8c128a5e7fce94564c7cb338987 (diff) | |
download | px4-firmware-d511e39ea7a3f1e0cb672b14598e18a7df18156a.tar.gz px4-firmware-d511e39ea7a3f1e0cb672b14598e18a7df18156a.tar.bz2 px4-firmware-d511e39ea7a3f1e0cb672b14598e18a7df18156a.zip |
turn on -Werror and fix resulting errors
Diffstat (limited to 'src/modules/commander/commander.cpp')
-rw-r--r-- | src/modules/commander/commander.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 744323c01..325ab2a67 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -267,7 +267,7 @@ int commander_main(int argc, char *argv[]) SCHED_PRIORITY_MAX - 40, 3200, commander_thread_main, - (argv) ? (const char **)&argv[2] : (const char **)NULL); + (argv) ? (char * const *)&argv[2] : (char * const *)NULL); while (!thread_running) { usleep(200); |