about summary refs log tree commit diff
path: root/mthread.c
diff options
context:
space:
mode:
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;
 }