From 741e600c12c34bda81224a4bd36446d290a3643f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Fri, 3 Mar 2000 22:34:35 +0000 Subject: [PATCH] Use signed type where -1 may be returned. --- crypto/bio/bss_bio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c index 0d0f9356f7..74902bb1d8 100644 --- a/crypto/bio/bss_bio.c +++ b/crypto/bio/bss_bio.c @@ -205,7 +205,7 @@ static int bio_read(BIO *bio, char *buf, int size_) */ /* WARNING: The non-copying interface is largely untested as of yet * and may contain bugs. */ -static size_t bio_nread0(BIO *bio, char **buf) +static ssize_t bio_nread0(BIO *bio, char **buf) { struct bio_bio_st *b, *peer_b; size_t num; @@ -243,7 +243,7 @@ static size_t bio_nread0(BIO *bio, char **buf) return num; } -static size_t bio_nread(BIO *bio, char **buf, size_t num) +static ssize_t bio_nread(BIO *bio, char **buf, size_t num) { struct bio_bio_st *b, *peer_b; size_t available; -- 2.25.1