diff options
author | Don Gagne <don@thegagnes.com> | 2014-07-05 13:35:12 -0700 |
---|---|---|
committer | Don Gagne <don@thegagnes.com> | 2014-07-05 13:35:12 -0700 |
commit | b9299e68d4147845bab9ed99509b3e50b7c94ae1 (patch) | |
tree | 4036204d3b4b2919c360c94d724fbb6d2c613c10 /src/systemcmds | |
parent | bd88951f6ce609bc5ba364bfa3d19ae61e444964 (diff) | |
download | px4-firmware-b9299e68d4147845bab9ed99509b3e50b7c94ae1.tar.gz px4-firmware-b9299e68d4147845bab9ed99509b3e50b7c94ae1.tar.bz2 px4-firmware-b9299e68d4147845bab9ed99509b3e50b7c94ae1.zip |
Compiler warning fixes
Diffstat (limited to 'src/systemcmds')
-rw-r--r-- | src/systemcmds/param/param.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/systemcmds/param/param.c b/src/systemcmds/param/param.c index f8bff2f6f..235ab7186 100644 --- a/src/systemcmds/param/param.c +++ b/src/systemcmds/param/param.c @@ -46,6 +46,7 @@ #include <stdbool.h> #include <unistd.h> #include <fcntl.h> +#include <math.h> #include <sys/stat.h> #include <arch/board/board.h> @@ -228,8 +229,8 @@ do_show_print(void *arg, param_t param) if (!(arg == NULL)) { /* start search */ - char *ss = search_string; - char *pp = p_name; + const char *ss = search_string; + const char *pp = p_name; bool mismatch = false; /* XXX this comparison is only ok for trailing wildcards */ |