From 1d31048105b7daf622a20ee1833f6101b9331a64 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 11 Oct 2003 01:53:51 +0000 Subject: [PATCH] unsigned long -> gsize git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3131 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/network.c | 4 ++-- 1 file 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);