diff options
Diffstat (limited to 'lib/frrstr.c')
-rw-r--r-- | lib/frrstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/frrstr.c b/lib/frrstr.c index c575c0b56..8a72a35af 100644 --- a/lib/frrstr.c +++ b/lib/frrstr.c @@ -209,7 +209,7 @@ bool frrstr_endswith(const char *str, const char *suffix) int all_digit(const char *str) { for (; *str != '\0'; str++) - if (!isdigit((int)*str)) + if (!isdigit((unsigned char)*str)) return 0; return 1; } |