From f22de155b8e75918c9030897a01e070a8af02661 Mon Sep 17 00:00:00 2001 From: atsb Date: Tue, 14 Apr 2020 22:10:28 +0200 Subject: small fix for older gcc versions --- src/mcron.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mcron.c') 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); -- cgit v1.2.3