Fix complation on 64bit arch

This commit is contained in:
Andreas Öman 2008-03-19 07:56:28 +00:00
parent 0cfa6f0a29
commit cc2c634b3d
2 changed files with 4 additions and 3 deletions

View file

@ -166,7 +166,8 @@ resolver_loop(void *aux)
htsmsg_t *m;
void *buf;
int r, res, herr;
unsigned int l, len;
unsigned int l;
size_t len;
struct hostent hostbuf, *hp;
size_t hstbuflen;
char *tmphstbuf;
@ -274,7 +275,7 @@ async_resolve(const char *hostname,
{
htsmsg_t *m;
void *buf;
unsigned int len;
size_t len;
int r;
res_t *res;

2
tcp.c
View file

@ -458,7 +458,7 @@ static void
tcp_client_connect_callback(int events, void *opaque, int fd)
{
int err;
size_t errlen = sizeof(int);
socklen_t errlen = sizeof(int);
tcp_session_t *c = opaque;
dispatch_delfd(c->tcp_dispatch_handle);