mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix void* pointer arithmetic from ber_bvchr()
This commit is contained in:
parent
82c73ef51a
commit
bfd221ae46
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ valsort_response( Operation *op, SlapReply *rs )
|
|||
|
||||
if ( a->a_vals != a->a_nvals ) {
|
||||
ptr = a->a_vals[i].bv_val;
|
||||
end = ber_bvchr( &a->a_vals[i], '}' ) + 1;
|
||||
end = (char *) ber_bvchr( &a->a_vals[i], '}' ) + 1;
|
||||
assert( end != NULL );
|
||||
for (;*end;)
|
||||
*ptr++ = *end++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue