summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-10-11 01:53:51 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-10-11 01:53:51 +0000
commit1d31048105b7daf622a20ee1833f6101b9331a64 (patch)
treef52177e022cf87e22ddc205015e8170c72e6114c /src/core
parent1826812c9d4a980aeb20e4d89fa352616fb36c27 (diff)
downloadirssi-1d31048105b7daf622a20ee1833f6101b9331a64.zip
unsigned long -> gsize
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3131 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r--src/core/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/network.c b/src/core/network.c
index 92f27e7e..d8192d04 100644
--- a/src/core/network.c
+++ b/src/core/network.c
@@ -362,7 +362,7 @@ GIOChannel *net_accept(GIOChannel *handle, IPADDR *addr, int *port)
/* Read data from socket, return number of bytes read, -1 = error */
int net_receive(GIOChannel *handle, char *buf, int len)
{
- unsigned long ret;
+ gsize ret;
int err;
g_return_val_if_fail(handle != NULL, -1);
@@ -381,7 +381,7 @@ int net_receive(GIOChannel *handle, char *buf, int len)
/* Transmit data, return number of bytes sent, -1 = error */
int net_transmit(GIOChannel *handle, const char *data, int len)
{
- unsigned long ret;
+ gsize ret;
int err;
g_return_val_if_fail(handle != NULL, -1);