mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
Cast ber_read() arg to char*
This commit is contained in:
parent
a49590eab7
commit
8a97fb0201
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ ber_getnint(
|
|||
return( -1 );
|
||||
|
||||
/* read into the low-order bytes of our buffer */
|
||||
if ( (ber_len_t) ber_read( ber, buf, len ) != len ) {
|
||||
if ( (ber_len_t) ber_read( ber, (char *) buf, len ) != len ) {
|
||||
return( -1 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue