diff options
author | Christos Zoulas <christos@zoulas.com> | 2018-09-30 16:57:56 -0400 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2018-12-09 22:02:50 -0500 |
commit | bda1f0c0d6987232f1f8ca2a72755ac62a99fc4c (patch) | |
tree | c977c92b193e1ff4b83fe857a28a038c14aa251a /test | |
parent | d8adf68cd6b7c934f12e7db14ddfc33b8cdd5797 (diff) | |
download | openssl-bda1f0c0d6987232f1f8ca2a72755ac62a99fc4c.tar.gz |
Avoid const castaway warning
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/enginetest.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |