changeset 32756:280ef1bd125b

MXit doesn't actually support very large file transfers, but fix the variable types, at least.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 16 Oct 2011 07:10:29 +0000
parents 867104ed576a
children 9bbfb9d74085
files libpurple/protocols/mxit/filexfer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/mxit/filexfer.c	Sun Oct 16 07:01:52 2011 +0000
+++ b/libpurple/protocols/mxit/filexfer.c	Sun Oct 16 07:10:29 2011 +0000
@@ -139,7 +139,7 @@
 		 * we have just accepted a file transfer request from MXit.  send a confirmation
 		 * to the MXit server so that can send us the file
 		 */
-		mxit_send_file_accept( mx->session, mx->fileid, purple_xfer_get_size( xfer ), 0 );
+		mxit_send_file_accept( mx->session, mx->fileid, (int) purple_xfer_get_size( xfer ), 0 );
 	}
 }
 
@@ -151,7 +151,7 @@
  */
 static void mxit_xfer_start( PurpleXfer* xfer )
 {
-	size_t			filesize;
+	goffset			filesize;
 	unsigned char*	buffer;
 	int				size;
 	int				wrote;