From: Christos Zoulas Date: Sun, 30 Sep 2018 20:57:56 +0000 (-0400) Subject: Avoid const castaway warning X-Git-Tag: openssl-3.0.0-alpha1~2731 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bda1f0c0d6987232f1f8ca2a72755ac62a99fc4c;p=oweals%2Fopenssl.git Avoid const castaway warning Reviewed-by: Richard Levitte Reviewed-by: Viktor Dukhovni --- diff --git a/test/enginetest.c b/test/enginetest.c index 096a334d1f..dfd5c3f28b 100644 --- a/test/enginetest.c +++ b/test/enginetest.c @@ -162,8 +162,8 @@ static int test_engines(void) ENGINE_free(ptr); } for (loop = 0; loop < NUMTOADD; loop++) { - OPENSSL_free((void *)ENGINE_get_id(block[loop])); - OPENSSL_free((void *)ENGINE_get_name(block[loop])); + OPENSSL_free((void *)(intptr_t)ENGINE_get_id(block[loop])); + OPENSSL_free((void *)(intptr_t)ENGINE_get_name(block[loop])); } to_return = 1;