mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 16:22:53 -05:00
Silence warning in print_deref(): cast lutil_b64_ntop() arg to unsigned char*
This commit is contained in:
parent
fd609f3299
commit
8171f077ca
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue