Re: 64-bit platforms patch for Balsa 2.2.3
- From: Carlos Morgado <chbm gnome org>
- To: balsa-list gnome org
- Cc: Andrew Lau <netsnipe users sourceforge net>
- Subject: Re: 64-bit platforms patch for Balsa 2.2.3
- Date: Wed, 18 Aug 2004 23:01:29 +0000
On Tue, 17 Aug 2004 16:28:39, Andrew Lau wrote:
Hey everyone,
The attached patch is from Andreas Jochens <aj andaco de> who's working
on the amd64 port of Debian GNU/Linux which allows Balsa to compile
cleanly on amd64, ia64 and s390.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=266298
diff -ruN balsa-2.2.3.orig/libbalsa/imap/imap-commands.c
balsa-2.2.3/libbalsa/imap/imap-commands.c
--- balsa-2.2.3.orig/libbalsa/imap/imap-commands.c 2004-08-10
18:24:51.000000000 +1000
+++ balsa-2.2.3/libbalsa/imap/imap-commands.c 2004-08-18
00:08:13.000000000 +1000
@@ -434,10 +434,10 @@
if(flags) {
gchar *str = enum_flag_to_str(flags);
- cmd = g_strdup_printf("APPEND \"%s\" (%s) {%u%s}", mbx7, str, sz,
litstr);
+ cmd = g_strdup_printf("APPEND \"%s\" (%s) {%u%s}", mbx7, str,
(unsigned) sz, litstr);
g_free(str);
} else
- cmd = g_strdup_printf("APPEND \"%s\" {%u%s}", mbx7, sz, litstr);
+ cmd = g_strdup_printf("APPEND \"%s\" {%u%s}", mbx7, (unsigned) sz,
litstr);
wouldn't
cmd = g_strdup_printf("APPEND \"%s\" {%z%s}", mbx7, sz, litstr);
be better here ?
--
Carlos Morgado - chbm(a)ma.ssive.net - http://chbm.net/
0x1FC57F0A FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]