From 1077acf7c81d9d1e0f0b89479de15d9ce4cf89da Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 10 Sep 2018 15:20:16 -0700 Subject: fixes #715 nng_opts_parse() uses const incorrectly --- docs/man/nng_opts_parse.3supp.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/man') diff --git a/docs/man/nng_opts_parse.3supp.adoc b/docs/man/nng_opts_parse.3supp.adoc index 048f992f..20a52109 100644 --- a/docs/man/nng_opts_parse.3supp.adoc +++ b/docs/man/nng_opts_parse.3supp.adoc @@ -27,7 +27,7 @@ typedef struct nng_optspec { bool o_arg; // Option takes an argument if true } nng_optspec; -int nng_opts_parse(int argc, const char **argv, const nng_optspec *spec, int *val, const char **arg, int *idx); +int nng_opts_parse(int argc, char *const *argv, const nng_optspec *spec, int *val, const char **arg, int *idx); ---- == DESCRIPTION -- cgit v1.2.3-70-g09d2