From: Hallvard Furuseth Date: Wed, 29 Apr 2009 22:19:39 +0000 (+0000) Subject: Silence warning in print_deref(): cast lutil_b64_ntop() arg to unsigned char* X-Git-Tag: ACLCHECK_0~588 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8171f077ca2fbe9177f299e818474a582bc8a334;p=openldap Silence warning in print_deref(): cast lutil_b64_ntop() arg to unsigned char* --- diff --git a/clients/tools/common.c b/clients/tools/common.c index 8c85af9d42..4e63da0824 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -2011,7 +2011,10 @@ print_deref( LDAP *ld, LDAPControl *ctrl ) } *ptr++ = '='; if ( k == -1 ) { - k = lutil_b64_ntop( dv->vals[ j ].bv_val, dv->vals[ j ].bv_len, ptr, buf + len - ptr ); + k = lutil_b64_ntop( + (unsigned char *) dv->vals[ j ].bv_val, + dv->vals[ j ].bv_len, + ptr, buf + len - ptr ); assert( k >= 0 ); ptr += k;