diff options
author | Roy Marples <roy@marples.name> | 2008-01-09 23:22:04 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-09 23:22:04 +0000 |
commit | ddf25cbcb76bccbfe28d15f1e73c637becaa54e7 (patch) | |
tree | 6ade72713da143021e78a361c534d143b267707a /src/rc/start-stop-daemon.c | |
parent | 06634f6309f07613cd6a086a6b383daad65192c0 (diff) |
Compile without warnings on NetBSD
Diffstat (limited to 'src/rc/start-stop-daemon.c')
-rw-r--r-- | src/rc/start-stop-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index bf03dbec..e0c55386 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -181,7 +181,7 @@ static void parse_schedule_item (schedulelist_t *item, const char *string) if (strcmp (string,"forever") == 0) item->type = schedule_forever; - else if (isdigit (string[0])) { + else if (isdigit ((int) string[0])) { item->type = schedule_timeout; errno = 0; if (sscanf (string, "%d", &item->value) != 1) |