changeset 27240:f22b8f624a00

Don't send 64-bit DCC application-level acknowledgments on 64-bit systems. Thanks to "freesta" for this. Fixes #9584
author Ethan Blanton <elb@pidgin.im>
date Wed, 01 Jul 2009 16:08:55 +0000
parents 47a2b94cf059
children eb9edb1c36ac fd45bfd89872
files libpurple/protocols/irc/dcc_send.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/irc/dcc_send.c	Wed Jul 01 08:18:47 2009 +0000
+++ b/libpurple/protocols/irc/dcc_send.c	Wed Jul 01 16:08:55 2009 +0000
@@ -50,7 +50,7 @@
  * unsigned 4 byte integer in network byte order)
  */
 static void irc_dccsend_recv_ack(PurpleXfer *xfer, const guchar *data, size_t size) {
-	unsigned long l;
+	guint32 l;
 	size_t result;
 
 	l = htonl(xfer->bytes_sent);