From 6e9577f324bef90765a5edc02044eb111ec48072 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Wed, 8 Mar 2017 13:44:12 +0100 Subject: [PATCH] Fix uip/whom.c for C89 compatibility --- uip/whom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uip/whom.c b/uip/whom.c index e664f4b..ef0b684 100644 --- a/uip/whom.c +++ b/uip/whom.c @@ -84,6 +84,7 @@ main(int argc, char **argv) FILE *in; struct msgs_array msgs = {0}; struct msgs_array files = {0}; + size_t filep; setlocale(LC_ALL, ""); invo_name = mhbasename(argv[0]); @@ -162,7 +163,7 @@ main(int argc, char **argv) if (parse_msgs(&msgs, folder, &files) < 0) { exit(EX_IOERR); } - for (size_t filep = 0; filep < files.size; filep++) { + for (filep = 0; filep < files.size; filep++) { process(files.msgs[filep]); } -- 1.7.10.4