Skip to content
Snippets Groups Projects
Commit 8f571ff2 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Let ber_bvchr() and ber_bvrchr() return char* instead of void*

parent 6a778f99
No related branches found
No related tags found
No related merge requests found
......@@ -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 { \
......
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