comparison libtomcrypt/src/misc/zeromem.c @ 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 6dba84798cd5
children
comparison
equal deleted inserted replaced
1481:515f37a55cd2 1482:6e09cb3d1230
19 @param out The destination of the area to zero 19 @param out The destination of the area to zero
20 @param outlen The length of the area to zero (octets) 20 @param outlen The length of the area to zero (octets)
21 */ 21 */
22 void zeromem(volatile void *out, size_t outlen) 22 void zeromem(volatile void *out, size_t outlen)
23 { 23 {
24 m_burn(out, outlen); 24 m_burn((void*)out, outlen);
25 } 25 }
26 26
27 /* ref: $Format:%D$ */ 27 /* ref: $Format:%D$ */
28 /* git commit: $Format:%H$ */ 28 /* git commit: $Format:%H$ */
29 /* commit time: $Format:%ai$ */ 29 /* commit time: $Format:%ai$ */