Fixed type used for htonl function (replaced u_int32_t by uint32_t, now OK under

MacOS)
This commit is contained in:
Sebastien Helleu 2005-10-31 12:40:34 +00:00
parent 3369a00959
commit 4ea734a376
2 changed files with 2 additions and 2 deletions

View File

@ -1172,7 +1172,7 @@ dcc_handle ()
t_irc_dcc *ptr_dcc; t_irc_dcc *ptr_dcc;
int num_read, num_sent; int num_read, num_sent;
static char buffer[102400]; static char buffer[102400];
u_int32_t pos; uint32_t pos;
fd_set read_fd; fd_set read_fd;
static struct timeval timeout; static struct timeval timeout;
int sock; int sock;

View File

@ -1172,7 +1172,7 @@ dcc_handle ()
t_irc_dcc *ptr_dcc; t_irc_dcc *ptr_dcc;
int num_read, num_sent; int num_read, num_sent;
static char buffer[102400]; static char buffer[102400];
u_int32_t pos; uint32_t pos;
fd_set read_fd; fd_set read_fd;
static struct timeval timeout; static struct timeval timeout;
int sock; int sock;