diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2018-02-02 15:11:03 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2018-02-02 16:31:20 -0200 |
| commit | a7ce0ad1dacc62d01ec11422586b211c5239e890 (patch) | |
| tree | 402dc4b6d88647cd14edf5c5a93489491ad0a056 /lib/command.c | |
| parent | b599ec55f4b34607c529074d167284c6c06d246a (diff) | |
*: silence '-Wchar-subscripts' warnings on NetBSD
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 7b9b417839..d17f2c3d48 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1862,7 +1862,7 @@ DEFUN (config_password, return CMD_SUCCESS; } - if (!isalnum(argv[idx_8]->arg[0])) { + if (!isalnum((int)argv[idx_8]->arg[0])) { vty_out(vty, "Please specify string starting with alphanumeric\n"); return CMD_WARNING_CONFIG_FAILED; @@ -1914,7 +1914,7 @@ DEFUN (config_enable_password, } } - if (!isalnum(argv[idx_8]->arg[0])) { + if (!isalnum((int)argv[idx_8]->arg[0])) { vty_out(vty, "Please specify string starting with alphanumeric\n"); return CMD_WARNING_CONFIG_FAILED; |
