about summary refs log tree commit diff
path: root/mthread.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-01-07 21:13:59 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-01-07 21:13:59 +0100
commit5e7c300b425c9771942255c9c4f8ad8eebc7b6e3 (patch)
tree83e8ad376f528e8c3251063022af380d5522ef8c /mthread.c
parenta5026c9b991973c2141d01d1b184328fc7e69f77 (diff)
downloadmblaze-5e7c300b425c9771942255c9c4f8ad8eebc7b6e3.tar.gz
mblaze-5e7c300b425c9771942255c9c4f8ad8eebc7b6e3.tar.xz
mblaze-5e7c300b425c9771942255c9c4f8ad8eebc7b6e3.zip
blaze822: blaze822_loop: use long as return type
Diffstat (limited to 'mthread.c')
-rw-r--r--mthread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mthread.c b/mthread.c
index 503b359..323111d 100644
--- a/mthread.c
+++ b/mthread.c
@@ -396,7 +396,8 @@ print_tree(struct container *c, int depth)
 int
 main(int argc, char *argv[])
 {
-	int c, i;
+	int c;
+	long i;
 
 	optional = 1;
 
@@ -422,7 +423,7 @@ main(int argc, char *argv[])
 	sort_tree(top, -1);
 	print_tree(top, -1);
 
-	fprintf(stderr, "%d mails threaded\n", i);
+	fprintf(stderr, "%ld mails threaded\n", i);
 
 	return 0;
 }