mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-11 13:50:39 +08:00
ber_decode_oid(), ber_encode_oid(): cast bv_val to unsigned char*
This commit is contained in:
parent
8e5beab1e8
commit
545b5555fb
@ -49,7 +49,7 @@ static ber_len_t ber_getnint LDAP_P((
|
||||
int
|
||||
ber_decode_oid( BerValue *in, BerValue *out )
|
||||
{
|
||||
unsigned char *der = in->bv_val;
|
||||
unsigned char *der = (unsigned char *) in->bv_val;
|
||||
unsigned long val, val1;
|
||||
int i, len;
|
||||
char *ptr;
|
||||
|
@ -181,7 +181,7 @@ ber_put_len( BerElement *ber, ber_len_t len, int nosos )
|
||||
int
|
||||
ber_encode_oid( BerValue *in, BerValue *out )
|
||||
{
|
||||
unsigned char *der = out->bv_val;
|
||||
unsigned char *der = (unsigned char *) out->bv_val;
|
||||
unsigned long val, val1;
|
||||
int i, len;
|
||||
char *ptr, *end, *inend;
|
||||
|
Loading…
Reference in New Issue
Block a user