mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Silence warning in print_deref(): cast lutil_b64_ntop() arg to unsigned char*
This commit is contained in:
parent
fd609f3299
commit
8171f077ca
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user