diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-02 14:36:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-02 14:36:42 -0500 |
| commit | 321305829cd0d2a124cc9fd84c1f032b1f034968 (patch) | |
| tree | c71b522a2f4d08b3af69fd793471c74990942064 /lib/command.c | |
| parent | 8c7ad688cc26a829bb14e1c523650d05ff9bb19b (diff) | |
| parent | a37bd5e070a0a11d03522a12b5d2b9a2647f7bbb (diff) | |
Merge pull request #1703 from opensourcerouting/bsd-warnings
BSD warnings
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; |
