summaryrefslogtreecommitdiff
path: root/mail/claws-mail-newmail/patches/patch-aa
blob: 0bc415ccbabfb772e76df4955c1e2159f65eb39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.1 2008/05/12 02:25:40 smb Exp $

--- src/newmail.c.orig	2008-05-11 22:12:47.000000000 -0400
+++ src/newmail.c	2008-05-11 22:18:04.000000000 -0400
@@ -61,7 +61,7 @@
 	"From:\t%s\n"
 	"To:\t%s\n"
 	"Cc:\t%s\n"
-	"Size:\t%ld\n"
+	"Size:\t%" PRId64 "\n"
 	"Path:\t%s\n"
 	"Message:\t%d\n"
 	"Folder:\t%s\n",
@@ -70,7 +70,7 @@
 	    defstr (msginfo->from),
 	    defstr (msginfo->to),
 	    defstr (msginfo->cc),
-	    msginfo->size,
+	    (int64_t) msginfo->size,
 	    defstr (procmsg_get_message_file_path (msginfo)),
 	    msginfo->msgnum,
 	    tof ? defstr (tof->name) : "(null)");