diff libpurple/protocols/msn/httpconn.c @ 22915:84807b5e60fa

Build fixes for MSVC
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 12 May 2008 02:24:20 +0000
parents 0cbfc19e4909
children efa4534fd23a
line wrap: on
line diff
--- a/libpurple/protocols/msn/httpconn.c	Mon May 12 02:21:52 2008 +0000
+++ b/libpurple/protocols/msn/httpconn.c	Mon May 12 02:24:20 2008 +0000
@@ -438,7 +438,7 @@
 static gboolean
 write_raw(MsnHttpConn *httpconn, const char *data, size_t data_len)
 {
-	ssize_t res; /* result of the write operation */
+	gssize res; /* result of the write operation */
 
 	if (httpconn->tx_handler == 0)
 		res = write(httpconn->fd, data, data_len);
@@ -551,7 +551,7 @@
 	return TRUE;
 }
 
-ssize_t
+gssize
 msn_httpconn_write(MsnHttpConn *httpconn, const char *body, size_t body_len)
 {
 	char *params;