diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2019-08-06 13:21:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-06 13:21:13 -0400 |
| commit | 3c1c172f02ef13077fc6c1ffa980c1e3d2087263 (patch) | |
| tree | f849ffd1f0f2361e6608385057b1d080ef29b493 /lib/command_graph.c | |
| parent | c8ec87df6e2bc4de3988bd540d369d3589bdeab6 (diff) | |
| parent | 31140be1084a5df22d5ca4a90efeaf46a2298f93 (diff) | |
Merge pull request #4790 from opensourcerouting/ctype-cast
*: fix ctype casts
Diffstat (limited to 'lib/command_graph.c')
| -rw-r--r-- | lib/command_graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c index 4757fd951f..d30d9ab702 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((int)varname[i]); + token->varname[i] = tolower((unsigned char)varname[i]); } token->varname[len] = '\0'; } |
