Skip to content
Snippets Groups Projects
Commit e22dc83a authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Silence warning in print_deref(): cast lutil_b64_ntop() arg to unsigned char*

parent 83967bcd
No related branches found
No related tags found
No related merge requests found
......@@ -1987,7 +1987,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment