diff options
author | atsb <atsb@atsb> | 2020-04-14 22:10:28 +0200 |
---|---|---|
committer | atsb <atsb@atsb> | 2020-04-14 22:10:28 +0200 |
commit | f22de155b8e75918c9030897a01e070a8af02661 (patch) | |
tree | 4207c297e267fabd7cfd6e7a9930e8d90fea12dc /src/mcron.c | |
parent | bd37306294154610ad63426299e63b6bae5f4942 (diff) | |
download | mcron-f22de155b8e75918c9030897a01e070a8af02661.tar.gz mcron-f22de155b8e75918c9030897a01e070a8af02661.tar.bz2 mcron-f22de155b8e75918c9030897a01e070a8af02661.zip |
small fix for older gcc versions
Diffstat (limited to 'src/mcron.c')
-rw-r--r-- | src/mcron.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mcron.c b/src/mcron.c index c0b151a..adb91aa 100644 --- a/src/mcron.c +++ b/src/mcron.c @@ -110,8 +110,9 @@ parse_opt (int key, char *arg, struct argp_state *state) SCM lst = SCM_EOL; int filec = state->argc - state->next; char **filev = state->argv + state->next; + int i; - for (int i = filec - 1; i >= 0; i--) + for (i = filec - 1; i >= 0; i--) lst = scm_cons (scm_from_locale_string (filev[i]), lst); assq_symbol_set_x (config, "files", lst); |