diff options
Diffstat (limited to 'src/sbearssl/sbearssl_cert_from.c')
-rw-r--r-- | src/sbearssl/sbearssl_cert_from.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbearssl/sbearssl_cert_from.c b/src/sbearssl/sbearssl_cert_from.c index b57dca6..3822e05 100644 --- a/src/sbearssl/sbearssl_cert_from.c +++ b/src/sbearssl/sbearssl_cert_from.c @@ -6,7 +6,7 @@ int sbearssl_cert_from (sbearssl_cert *sc, br_x509_certificate const *bc, stralloc *sa) { - if (!stralloc_catb(sa, bc->data, bc->data_len)) return 0 ; + if (!stralloc_catb(sa, (char const *)bc->data, bc->data_len)) return 0 ; sc->data = sa->len - bc->data_len ; sc->datalen = bc->data_len ; return 1 ; |