signed vs. unsigned.
authorRichard Levitte <levitte@openssl.org>
Wed, 20 Apr 2005 13:21:10 +0000 (13:21 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 20 Apr 2005 13:21:10 +0000 (13:21 +0000)
apps/s_socket.c

index 7274257..cf43301 100644 (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)