diff -r 3c9fc84490a9 -r 41e45e18f3b2 libpurple/protocols/mxit/filexfer.c --- a/libpurple/protocols/mxit/filexfer.c Fri Aug 12 21:36:10 2016 -0500 +++ b/libpurple/protocols/mxit/filexfer.c Fri Aug 19 23:03:37 2016 -0500 @@ -357,7 +357,7 @@ * @param filesize The size of the file being offered * @param fileid A unique ID that identifies this file */ -void mxit_xfer_rx_offer( struct MXitSession* session, const char* username, const char* filename, int filesize, const char* fileid ) +void mxit_xfer_rx_offer( struct MXitSession* session, const char* username, const char* filename, unsigned int filesize, const char* fileid ) { PurpleXfer* xfer = NULL; struct mxitxfer* mx = NULL; @@ -373,7 +373,7 @@ purple_xfer_set_protocol_data( xfer, mx ); purple_xfer_set_filename( xfer, filename ); - if( filesize > 0 ) + if ( filesize > 0 ) purple_xfer_set_size( xfer, filesize ); /* register file transfer callback functions */ @@ -429,7 +429,7 @@ * @param data The file data * @param datalen The size of the data */ -void mxit_xfer_rx_file( struct MXitSession* session, const char* fileid, const char* data, int datalen ) +void mxit_xfer_rx_file( struct MXitSession* session, const char* fileid, const char* data, unsigned int datalen ) { PurpleXfer* xfer = NULL;