summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
}