aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2017-10-23 22:26:59 +0300
committerSergey Poznyakoff <gray@gnu.org>2017-10-23 22:26:59 +0300
commit053340b0117fa7e8f579ebb79ab09538d0dbb862 (patch)
tree1421848f8c6b1e5f8c4303291cb42e35b14df82d
parent368a705fe49cc31857c08e357d42314b3d54b2b5 (diff)
downloadmailfromd-053340b0117fa7e8f579ebb79ab09538d0dbb862.tar.gz
mailfromd-053340b0117fa7e8f579ebb79ab09538d0dbb862.tar.bz2
Minor fix
-rw-r--r--src/exclist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exclist.c b/src/exclist.c
index f7e8577f..a634e61e 100644
--- a/src/exclist.c
+++ b/src/exclist.c
@@ -60,7 +60,8 @@ fixup_exceptions(void)
mu_locus_point_set_file(&locus.beg, __FILE__);
locus.beg.mu_line = __LINE__;
while (exception_count < mf_exception_count) {
- snprintf(namebuf, sizeof namebuf, "#%d", exception_count);
+ snprintf(namebuf, sizeof namebuf, "#%lu",
+ (unsigned long) exception_count);
define_exception(string_alloc(namebuf, strlen(namebuf)),
&locus);
}

Return to:

Send suggestions and report system problems to the System administrator.