summaryrefslogtreecommitdiff
path: root/src/core/net-nonblock.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-10-11 01:59:31 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-10-11 01:59:31 +0000
commitbb441ebbdea677433b80fffdf42c44a9493c0ae4 (patch)
treeac79b2974f669839d70a0ffd7f57aafce8c9e0f7 /src/core/net-nonblock.c
parent1d31048105b7daf622a20ee1833f6101b9331a64 (diff)
downloadirssi-bb441ebbdea677433b80fffdf42c44a9493c0ae4.zip
unsigned long -> gsize
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3132 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/net-nonblock.c')
-rw-r--r--src/core/net-nonblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/net-nonblock.c b/src/core/net-nonblock.c
index 97d3bccd..5eaae8d8 100644
--- a/src/core/net-nonblock.c
+++ b/src/core/net-nonblock.c
@@ -40,7 +40,7 @@ typedef struct {
static int g_io_channel_write_block(GIOChannel *channel, void *data, int len)
{
- unsigned long ret;
+ gsize ret;
int err, sent;
sent = 0;
@@ -56,7 +56,7 @@ static int g_io_channel_write_block(GIOChannel *channel, void *data, int len)
static int g_io_channel_read_block(GIOChannel *channel, void *data, int len)
{
time_t maxwait;
- unsigned long ret;
+ gsize ret;
int err, received;
maxwait = time(NULL)+2;