summaryrefslogtreecommitdiffstats
path: root/ssl/ssltest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-04-29 10:29:38 +0000
committerRichard Levitte <levitte@openssl.org>2002-04-29 10:29:38 +0000
commitcc129755140c70f33e58f172151f49759bee6e49 (patch)
tree58398e8839bce0d56a2c84c48e510e96844ffa57 /ssl/ssltest.c
parent9738f395c6db4465ff6110f6b0952ee5f1a1e2e4 (diff)
Fix unsigned vs. signed clash
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r--ssl/ssltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 918aabe4d5..1d9b30d78a 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -1055,7 +1055,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
r = BIO_nwrite0(io1, &dataptr);
assert(r > 0);
- if (r < num)
+ if (r < (int)num)
num = r;
r = BIO_read(io2, dataptr, (int)num);
if (r != (int)num) /* can't happen */