diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2018-02-02 18:11:03 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2018-02-02 19:31:20 +0100 |
commit | a7ce0ad1dacc62d01ec11422586b211c5239e890 (patch) | |
tree | 402dc4b6d88647cd14edf5c5a93489491ad0a056 /tools | |
parent | *: silence '-Wmaybe-uninitialized' warnings on NetBSD (diff) | |
download | frr-a7ce0ad1dacc62d01ec11422586b211c5239e890.tar.xz frr-a7ce0ad1dacc62d01ec11422586b211c5239e890.zip |
*: silence '-Wchar-subscripts' warnings on NetBSD
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/start-stop-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/start-stop-daemon.c b/tools/start-stop-daemon.c index 8dc16f420..6bf55b774 100644 --- a/tools/start-stop-daemon.c +++ b/tools/start-stop-daemon.c @@ -396,7 +396,7 @@ static void parse_schedule_item(const char *string, struct schedule_item *item) if (!strcmp(string, "forever")) { item->type = sched_forever; - } else if (isdigit(string[0])) { + } else if (isdigit((int)string[0])) { item->type = sched_timeout; if (parse_integer(string, &item->value) != 0) badusage("invalid timeout value in schedule"); |