From: markus schnalke Date: Wed, 8 Mar 2017 12:44:12 +0000 (+0100) Subject: Fix uip/whom.c for C89 compatibility X-Git-Tag: mmh-0.4~43 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=6e9577f324bef90765a5edc02044eb111ec48072;p=mmh Fix uip/whom.c for C89 compatibility --- 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]); }