diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-05-09 19:20:28 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-05-09 19:20:28 +0200 |
commit | 4dc8499494dc16bf336c1055f2ae4b78c709c87d (patch) | |
tree | 31f20511fe46d4eb621557f8d7ecb4de64d066d4 /src/tool_getparam.h | |
parent | 158d7016419429e7741ec35d0d6e256985762347 (diff) | |
download | curl-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.h | 2 |
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); |