diff --git a/include/aws/common/command_line_parser.h b/include/aws/common/command_line_parser.h index 2a9c5ec0c..2a2207b8f 100644 --- a/include/aws/common/command_line_parser.h +++ b/include/aws/common/command_line_parser.h @@ -85,7 +85,7 @@ AWS_COMMON_API void aws_cli_reset_state(void); /* * Returns the aws_cli_optarg variable */ -AWS_COMMON_API char *aws_get_cli_optarg(void); +AWS_COMMON_API const char *aws_get_cli_optarg(void); /** * Dispatches the current command line arguments with a subcommand from the second input argument in argv[], if