From 8a97fb0201b481311735736a6af5d9d476eaa19e Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 1 Aug 1999 20:27:03 +0000 Subject: [PATCH] Cast ber_read() arg to char* --- libraries/liblber/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.5