summaryrefslogtreecommitdiff
path: root/src/tool_getparam.h
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-05-09 19:20:28 +0200
committerMarcel Raad <raad@teamviewer.com>2017-05-09 19:20:28 +0200
commit4dc8499494dc16bf336c1055f2ae4b78c709c87d (patch)
tree31f20511fe46d4eb621557f8d7ecb4de64d066d4 /src/tool_getparam.h
parent158d7016419429e7741ec35d0d6e256985762347 (diff)
downloadcurl-4dc8499494dc16bf336c1055f2ae4b78c709c87d.tar.gz
tool: fix remaining -Wcast-qual warnings
Avoid casting away low-level const.
Diffstat (limited to 'src/tool_getparam.h')
-rw-r--r--src/tool_getparam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_getparam.h b/src/tool_getparam.h
index 4e97721ed..29e158816 100644
--- a/src/tool_getparam.h
+++ b/src/tool_getparam.h
@@ -47,7 +47,7 @@ typedef enum {
struct GlobalConfig;
struct OperationConfig;
-ParameterError getparameter(char *flag, char *nextarg, bool *usedarg,
+ParameterError getparameter(const char *flag, char *nextarg, bool *usedarg,
struct GlobalConfig *global,
struct OperationConfig *operation);