1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

64bit fixes by Stefan Fent

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3129 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-10-06 23:53:51 +00:00 committed by cras
parent d97b52b5a2
commit 9ae4779c87
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);