Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/pam-u2f/dist Add cast



details:   https://anonhg.NetBSD.org/src/rev/85708a6552f4
branches:  trunk
changeset: 969836:85708a6552f4
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 03 00:27:31 2020 +0000

description:
Add cast

diffstat:

 external/bsd/pam-u2f/dist/b64.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r daa581e17e49 -r 85708a6552f4 external/bsd/pam-u2f/dist/b64.c
--- a/external/bsd/pam-u2f/dist/b64.c   Tue Mar 03 00:27:08 2020 +0000
+++ b/external/bsd/pam-u2f/dist/b64.c   Tue Mar 03 00:27:31 2020 +0000
@@ -75,7 +75,7 @@
   if (bio_b64 == NULL)
     goto fail;
 
-  bio_mem = BIO_new_mem_buf((void *) in, -1);
+  bio_mem = BIO_new_mem_buf((const void *) in, -1);
   if (bio_mem == NULL)
     goto fail;
 



Home | Main Index | Thread Index | Old Index