From a7ce0ad1dacc62d01ec11422586b211c5239e890 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Fri, 2 Feb 2018 15:11:03 -0200 Subject: *: silence '-Wchar-subscripts' warnings on NetBSD Signed-off-by: Renato Westphal --- lib/command_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command_graph.c') diff --git a/lib/command_graph.c b/lib/command_graph.c index fce11a70c..f00b12653 100644 --- a/lib/command_graph.c +++ b/lib/command_graph.c @@ -97,7 +97,7 @@ void cmd_token_varname_set(struct cmd_token *token, const char *varname) token->varname[i] = '_'; break; default: - token->varname[i] = tolower(varname[i]); + token->varname[i] = tolower((int)varname[i]); } token->varname[len] = '\0'; } -- cgit v1.2.3