diff --git a/doc/Changelog b/doc/Changelog index a62413e41..39a63d78e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 17 October 2016: Wouter - Re-fix #839 from view commit overwrite. + - Fixup const void cast warning. 12 October 2016: Ralph - Free view config elements. diff --git a/smallapp/unbound-anchor.c b/smallapp/unbound-anchor.c index 68e8e405f..c41ec90be 100644 --- a/smallapp/unbound-anchor.c +++ b/smallapp/unbound-anchor.c @@ -420,7 +420,7 @@ read_builtin_cert(void) { const char* builtin_cert = get_builtin_cert(); STACK_OF(X509)* sk; - BIO *bio = BIO_new_mem_buf(builtin_cert, + BIO *bio = BIO_new_mem_buf((const void*)builtin_cert, (int)strlen(builtin_cert)); if(!bio) { if(verb) printf("out of memory\n");