From 95b99cc86a757b3690c8a6cdfca225dc5a4cff7b Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sat, 10 Feb 2018 00:12:22 +0800 Subject: cast m_burn argument away from volatile --- libtomcrypt/src/misc/zeromem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtomcrypt') diff --git a/libtomcrypt/src/misc/zeromem.c b/libtomcrypt/src/misc/zeromem.c index f46ced2..99b02f8 100644 --- a/libtomcrypt/src/misc/zeromem.c +++ b/libtomcrypt/src/misc/zeromem.c @@ -21,7 +21,7 @@ */ void zeromem(volatile void *out, size_t outlen) { - m_burn(out, outlen); + m_burn((void*)out, outlen); } /* ref: $Format:%D$ */ -- cgit v1.2.3