From: Richard Levitte Date: Wed, 20 Apr 2005 13:21:10 +0000 (+0000) Subject: signed vs. unsigned. X-Git-Tag: BEN_FIPS_TEST_8~42^2~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7efebab9fd363029105394b234d700d0fe3acf7d;p=openssl signed vs. unsigned. --- diff --git a/apps/s_socket.c b/apps/s_socket.c index 727425744c..cf43301df2 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -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)