diff options
author | Timo Sirainen <cras@irssi.org> | 2003-10-06 23:53:51 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2003-10-06 23:53:51 +0000 |
commit | 9ae4779c876360f574498fa567319301faa76fbf (patch) | |
tree | a4699f64c117ee23daf70c2f2f6d70d4eec54188 /src/core | |
parent | d97b52b5a2829294fd2454b06002c616f485312d (diff) | |
download | irssi-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')
-rw-r--r-- | src/core/net-nonblock.c | 4 | ||||
-rw-r--r-- | src/core/network.c | 4 |
2 files changed, 4 insertions, 4 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; diff --git a/src/core/network.c b/src/core/network.c index 71a5dcb1..92f27e7e 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 int ret; + unsigned long 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 int ret; + unsigned long ret; int err; g_return_val_if_fail(handle != NULL, -1); |