From: Hallvard Furuseth Date: Fri, 4 Feb 2011 21:24:13 +0000 (+0000) Subject: Silence gcc -Wformat: Cast printf %p arg to void* X-Git-Tag: MIGRATION_CVS2GIT~100 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2a9ef9badca067d8b1f66bbd083a30864d86cd88;p=openldap Silence gcc -Wformat: Cast printf %p arg to void* --- diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index c4b50191ba..468b565142 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -1545,7 +1545,7 @@ bdb_lru_count( Cache *cache ) ent++; if ( e->bei_state & CACHE_ENTRY_NOT_CACHED ) nc++; - fprintf( stderr, "ei %d entry %p dn %s\n", ei, e->bei_e, e->bei_e->e_name.bv_val ); + fprintf( stderr, "ei %d entry %p dn %s\n", ei, (void *) e->bei_e, e->bei_e->e_name.bv_val ); } e = e->bei_lrunext; if ( e == cache->c_lrutail )