From fdbc12fa744e74b138bf461a89602abb8e27c040 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 2 Mar 2008 15:05:47 +0000 Subject: [PATCH] Silence BER_BVC warning --- include/lber_pvt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { \ -- 2.39.5