summaryrefslogtreecommitdiff
path: root/src/core/net-nonblock.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-10-06 23:53:51 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-10-06 23:53:51 +0000
commit9ae4779c876360f574498fa567319301faa76fbf (patch)
treea4699f64c117ee23daf70c2f2f6d70d4eec54188 /src/core/net-nonblock.c
parentd97b52b5a2829294fd2454b06002c616f485312d (diff)
downloadirssi-9ae4779c876360f574498fa567319301faa76fbf.zip
64bit fixes by Stefan Fent
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3129 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 ce6be49a..97d3bccd 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 int ret;
+ unsigned long 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 int ret;
+ unsigned long ret;
int err, received;
maxwait = time(NULL)+2;