avoid warning ('const' discarded)
authorBodo Möller <bodo@openssl.org>
Mon, 10 Sep 2001 17:46:54 +0000 (17:46 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 10 Sep 2001 17:46:54 +0000 (17:46 +0000)
crypto/engine/enginetest.c

index 92cc0da..351b0c7 100644 (file)
@@ -234,8 +234,8 @@ cleanup_loop:
                }
        for(loop = 0; loop < 512; loop++)
                {
-               OPENSSL_free(ENGINE_get_id(block[loop]));
-               OPENSSL_free(ENGINE_get_name(block[loop]));
+               OPENSSL_free((void *)ENGINE_get_id(block[loop]));
+               OPENSSL_free((void *)ENGINE_get_name(block[loop]));
                }
        printf("\nTests completed happily\n");
        to_return = 0;