diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-12-13 22:16:03 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-12-13 22:16:03 +0200 |
commit | 6f32dede6a5a483b4f34c462baf64ae86d15b5f9 (patch) | |
tree | b4acf0202b7eddf4a9e56533ed695ac9ecb1ac1f | |
parent | fd04041628827f09e0b0c57e41491346357760e1 (diff) | |
download | mailutils-6f32dede6a5a483b4f34c462baf64ae86d15b5f9.tar.gz mailutils-6f32dede6a5a483b4f34c462baf64ae86d15b5f9.tar.bz2 |
Minor fixrelease-3.1
-rw-r--r-- | libmailutils/tests/globtest.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/libmailutils/tests/globtest.c b/libmailutils/tests/globtest.c index d281f28c3..77e730250 100644 --- a/libmailutils/tests/globtest.c +++ b/libmailutils/tests/globtest.c | |||
@@ -1,3 +1,20 @@ | |||
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 | 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 | } |