From a635daa6b6de2bbc40d723337e842ee86e751086 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 6 Dec 2005 18:24:57 +0000 Subject: * mkdtemp.c (mkdtemp): Fix warning. * secmem.c, assuan-buffer.c, dotlock.c: Fix a few warnings from printf-ing %p where the arg wasn't void *. --- util/secmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/secmem.c') 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 ) -- cgit v1.2.3