Commit 6f32dede 6f32dede6a5a483b4f34c462baf64ae86d15b5f9 by Sergey Poznyakoff

Minor fix

1 parent fd040416
1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 1999-2001, 2004-2005, 2007, 2010-2012, 2014-2016 Free
3 Software Foundation, Inc.
4
5 GNU Mailutils is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option)
8 any later version.
9
10 GNU Mailutils is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */
17
1 #include <config.h> 18 #include <config.h>
2 #include <mailutils/mailutils.h> 19 #include <mailutils/mailutils.h>
3 20
...@@ -85,7 +102,7 @@ main (int argc, char **argv) ...@@ -85,7 +102,7 @@ main (int argc, char **argv)
85 size_t j; 102 size_t j;
86 103
87 for (j = 0; j < nmatch; j++) 104 for (j = 0; j < nmatch; j++)
88 printf ("%02d: %.*s\n", j, 105 printf ("%02zu: %.*s\n", j,
89 matches[j].rm_eo - matches[j].rm_so, 106 matches[j].rm_eo - matches[j].rm_so,
90 a + matches[j].rm_so); 107 a + matches[j].rm_so);
91 } 108 }
......