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 727425744c73efb5c91d5cb3a1c3da4e5adc5ca7..cf43301df2b5798740d5a6cbadd5f7bdce993c22 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)