summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;