diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-03-01 23:46:07 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-03-01 23:46:07 +0800 |
commit | 8a4f7fe4f8435b9551c4145f93876e11de78cdcb (patch) | |
tree | 345b21bc3b456439019960e4a0a76f297f8bf6e7 /dbhelpers.c | |
parent | 294e98c39731d1a2bae9f45894e90844bcdf0d50 (diff) |
avoid volatile cast warning
Diffstat (limited to 'dbhelpers.c')
-rw-r--r-- | dbhelpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbhelpers.c b/dbhelpers.c index bb9c2fc..08d21ae 100644 --- a/dbhelpers.c +++ b/dbhelpers.c @@ -10,7 +10,7 @@ void m_burn(void *data, unsigned int len) { explicit_bzero(data, len); #else volatile void *p = data; - memset(p, 0x0, len); + memset((void*)p, 0x0, len); #endif } |