summaryrefslogtreecommitdiff
path: root/src/supplemental/util/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplemental/util/options.h')
-rw-r--r--src/supplemental/util/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplemental/util/options.h b/src/supplemental/util/options.h
index 392c4a53..83969a90 100644
--- a/src/supplemental/util/options.h
+++ b/src/supplemental/util/options.h
@@ -39,7 +39,7 @@ typedef struct nng_optspec nng_optspec;
// Returns -1 when the end of options is reached, 0 on success, or
// NNG_EINVAL if the option parse is invalid for any reason.
NNG_DECL int nng_opts_parse(int argc, char *const *argv,
- const nng_optspec *opts, int *val, const char **optarg, int *optidx);
+ const nng_optspec *opts, int *val, char **optarg, int *optidx);
#ifdef __cplusplus
}