signed vs. unsigned.

This commit is contained in:
Richard Levitte 2005-04-20 13:21:10 +00:00
parent a74286d636
commit 7efebab9fd

View File

@ -291,7 +291,7 @@ int do_server(int port, int *ret, int (*cb)(char *hostname, int s, unsigned char
SHUTDOWN(accept_socket);
return(0);
}
i=(*cb)(name,sock, context);
i=(*cb)(name,sock, (unsigned char *)context);
if (name != NULL) OPENSSL_free(name);
SHUTDOWN2(sock);
if (i < 0)