]> git.sur5r.net Git - openldap/commitdiff
Silence gcc -Wformat: Cast printf %p arg to void*
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 4 Feb 2011 21:24:13 +0000 (21:24 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 4 Feb 2011 21:24:13 +0000 (21:24 +0000)
servers/slapd/back-bdb/cache.c

index c4b50191ba7e2869a873875ac33d3106a17b66e3..468b565142471f79e9f62583ec23ffac6131b955 100644 (file)
@@ -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 )