From 1e8350ad3f606f7af214b45a0500fc7b3d672c5f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 23 Jul 2007 00:02:31 +0000 Subject: [PATCH] Silence warnings in prev commit --- servers/slapd/back-bdb/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index b721427658..bd17781998 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -456,8 +456,8 @@ shm_retry: if ( !e ) { e = entry_alloc(); e->e_id = 0; - ber_dupbv( &e->e_name, &slap_empty_bv ); - ber_dupbv( &e->e_nname, &slap_empty_bv ); + ber_dupbv( &e->e_name, (struct berval *)&slap_empty_bv ); + ber_dupbv( &e->e_nname, (struct berval *)&slap_empty_bv ); } e->e_ocflags = SLAP_OC_GLUE|SLAP_OC__END; e->e_private = &bdb->bi_cache.c_dntree; -- 2.39.5