From: Howard Chu Date: Sun, 2 Mar 2008 15:05:47 +0000 (+0000) Subject: Silence BER_BVC warning X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~124 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fdbc12fa744e74b138bf461a89602abb8e27c040;p=openldap Silence BER_BVC warning --- diff --git a/include/lber_pvt.h b/include/lber_pvt.h index c55e073f1a..49e4e4e126 100644 --- a/include/lber_pvt.h +++ b/include/lber_pvt.h @@ -201,7 +201,7 @@ ber_bvarray_dup_x LDAP_P(( BerVarray *dst, BerVarray src, void *ctx )); (dst)->bv_val = (bv)->bv_val; \ } while (0) -#define BER_BVC(s) { STRLENOF(s), (s) } +#define BER_BVC(s) { STRLENOF(s), (char *)(s) } #define BER_BVNULL { 0L, NULL } #define BER_BVZERO(bv) \ do { \