mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
Let ber_bvchr() and ber_bvrchr() return char* instead of void*
This commit is contained in:
parent
6a778f99f5
commit
8f571ff2e9
1 changed files with 2 additions and 2 deletions
|
|
@ -167,10 +167,10 @@ ber_bvarray_add_x LDAP_P(( BerVarray *p, BerValue *bv, void *ctx ));
|
|||
( (s)[0] == (c) && (s)[1] == '\0' )
|
||||
|
||||
#define ber_bvchr(bv,c) \
|
||||
memchr( (bv)->bv_val, (c), (bv)->bv_len )
|
||||
((char *) memchr( (bv)->bv_val, (c), (bv)->bv_len ))
|
||||
|
||||
#define ber_bvrchr(bv,c) \
|
||||
memrchr( (bv)->bv_val, (c), (bv)->bv_len )
|
||||
((char *) memrchr( (bv)->bv_val, (c), (bv)->bv_len ))
|
||||
|
||||
#define ber_bvchr_right(dst,bv,c) \
|
||||
do { \
|
||||
|
|
|
|||
Loading…
Reference in a new issue