Fixes for signed/unsigned warnings and shadows.

This commit is contained in:
Dr. Stephen Henson
2005-04-26 17:43:53 +00:00
parent 6ededa42db
commit 4e321ffaff
6 changed files with 14 additions and 14 deletions

View File

@@ -277,7 +277,7 @@ static int init_client_ip(int *sock, unsigned char ip[4], int port, int type)
return(1);
}
int do_server(int port, int type, int *ret, int (*cb)(char *hostname, int s, unsigned char *context), char *context)
int do_server(int port, int type, int *ret, int (*cb)(char *hostname, int s, unsigned char *context), unsigned char *context)
{
int sock;
char *name = NULL;