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;