changeset 1482:6e09cb3d1230

cast m_burn argument away from volatile
author Matt Johnston <matt@ucc.asn.au>
date Sat, 10 Feb 2018 00:12:22 +0800
parents 515f37a55cd2
children 190b7af3bdac
files libtomcrypt/src/misc/zeromem.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libtomcrypt/src/misc/zeromem.c	Sat Feb 10 00:09:02 2018 +0800
+++ b/libtomcrypt/src/misc/zeromem.c	Sat Feb 10 00:12:22 2018 +0800
@@ -21,7 +21,7 @@
 */
 void zeromem(volatile void *out, size_t outlen)
 {
-   m_burn(out, outlen);
+   m_burn((void*)out, outlen);
 }
 
 /* ref:         $Format:%D$ */