From: Hallvard Furuseth Date: Sun, 1 Aug 1999 20:27:03 +0000 (+0000) Subject: Cast ber_read() arg to char* X-Git-Tag: TWEB_OL_BASE~343 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8a97fb0201b481311735736a6af5d9d476eaa19e;p=openldap Cast ber_read() arg to char* --- diff --git a/libraries/liblber/decode.c b/libraries/liblber/decode.c index d0886582a2..246a315ae2 100644 --- a/libraries/liblber/decode.c +++ b/libraries/liblber/decode.c @@ -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 ); }