mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-24 15:52:54 -05:00
ber_decode_oid(), ber_encode_oid(): cast bv_val to unsigned char*
This commit is contained in:
parent
8e5beab1e8
commit
545b5555fb
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue