aboutsummaryrefslogtreecommitdiffstats
path: root/util/secmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/secmem.c')
-rw-r--r--util/secmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/secmem.c b/util/secmem.c
index a3ab60155..6da58b2e6 100644
--- a/util/secmem.c
+++ b/util/secmem.c
@@ -409,7 +409,7 @@ secmexrealloc( void *p, size_t newsize )
mb = (MEMBLOCK*)((char*)p - ((size_t) &((MEMBLOCK*)0)->u.aligned.c));
size = mb->size;
if (size < sizeof(MEMBLOCK))
- log_bug ("secure memory corrupted at block %p\n", mb);
+ log_bug ("secure memory corrupted at block %p\n", (void *)mb);
size -= ((size_t) &((MEMBLOCK*)0)->u.aligned.c);
if( newsize <= size )