From 8573fa1806dad1d11f6bb36de4437c09155b3fa3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 10 Sep 2001 17:46:54 +0000 Subject: [PATCH] avoid warning ('const' discarded) --- crypto/engine/enginetest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c index 92cc0dacd0..351b0c742e 100644 --- a/crypto/engine/enginetest.c +++ b/crypto/engine/enginetest.c @@ -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; -- 2.40.0