Fixed compiler warnings for gcc 4.1.x

This commit is contained in:
Michiel Broek
2007-08-25 18:32:07 +00:00
parent 51940ae330
commit 24e0ebcb45
13 changed files with 109 additions and 88 deletions

View File

@@ -106,7 +106,8 @@ int check_free(void)
int main(int argc, char *argv[])
{
struct passwd *pw;
int i, rc, addrlen = sizeof(struct sockaddr_in);
int i, rc;
socklen_t addrlen = sizeof(struct sockaddr_in);
/*
* The next trick is to supply a fake environment variable