summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-05-21 14:29:13 +0000
committerRichard Levitte <levitte@openssl.org>2003-05-21 14:29:13 +0000
commit83743ad039abfd599595aad161054b072b8609bd (patch)
tree73d93d9d0ded83bd8413029c5e7340963b322be1 /crypto/bio
parent163f5b236ca1161ad08d9820bebb25290720613c (diff)
Fix sign bugs.
PR: 621
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/b_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c
index a9e552f245..2cfc689dd6 100644
--- a/crypto/bio/b_print.c
+++ b/crypto/bio/b_print.c
@@ -836,5 +836,5 @@ int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
* had the buffer been large enough.) */
return -1;
else
- return (retlen <= INT_MAX) ? retlen : -1;
+ return (retlen <= INT_MAX) ? (int)retlen : -1;
}