tool: fix remaining -Wcast-qual warnings

Avoid casting away low-level const.
This commit is contained in:
Marcel Raad 2017-05-09 19:20:28 +02:00
parent 158d701641
commit 4dc8499494
No known key found for this signature in database
GPG key ID: B4668817AE6D6CD4
3 changed files with 8 additions and 8 deletions

View file

@ -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);