summaryrefslogtreecommitdiffhomepage
path: root/dbhelpers.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-03-01 23:46:07 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-03-01 23:46:07 +0800
commit8a4f7fe4f8435b9551c4145f93876e11de78cdcb (patch)
tree345b21bc3b456439019960e4a0a76f297f8bf6e7 /dbhelpers.c
parent294e98c39731d1a2bae9f45894e90844bcdf0d50 (diff)
avoid volatile cast warning
Diffstat (limited to 'dbhelpers.c')
-rw-r--r--dbhelpers.c2
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
}