SummaryRefsLogTreeCommitDiffStats
path: root/src
diff options
context:
space:
mode:
authoratsb <atsb@atsb>2020-04-14 22:10:28 +0200
committeratsb <atsb@atsb>2020-04-14 22:10:28 +0200
commitf22de155b8e75918c9030897a01e070a8af02661 (patch)
tree4207c297e267fabd7cfd6e7a9930e8d90fea12dc /src
parentbd37306294154610ad63426299e63b6bae5f4942 (diff)
downloadmcron-f22de155b8e75918c9030897a01e070a8af02661.tar.gz
mcron-f22de155b8e75918c9030897a01e070a8af02661.tar.bz2
mcron-f22de155b8e75918c9030897a01e070a8af02661.zip
small fix for older gcc versions
Diffstat (limited to 'src')
-rw-r--r--src/mcron.c3
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);