From 2d3c7f3b90eb1f46e4e967799df8aca75a59080c Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Fri, 20 Dec 2013 19:32:45 +0100 Subject: input: make parse_cmd_strv take const args --- input/input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input/input.h') diff --git a/input/input.h b/input/input.h index 77afeebac6..62892dc15a 100644 --- a/input/input.h +++ b/input/input.h @@ -236,7 +236,7 @@ struct mp_cmd *mp_input_parse_cmd(struct input_ctx *ictx, bstr str, // i.e. a ";" argument does not start a new command. // The _strv version is limitted to MP_CMD_MAX_ARGS argv array items. struct mp_cmd *mp_input_parse_cmd_strv(struct mp_log *log, int def_flags, - char **argv, const char *location); + const char **argv, const char *location); struct mp_cmd *mp_input_parse_cmd_bstrv(struct mp_log *log, int def_flags, int argc, bstr *argv, const char *location); -- cgit v1.2.3