commit | cc129755140c70f33e58f172151f49759bee6e49 | [log] [tgz] |
---|---|---|
author | Richard Levitte <levitte@openssl.org> | Mon Apr 29 10:29:38 2002 +0000 |
committer | Richard Levitte <levitte@openssl.org> | Mon Apr 29 10:29:38 2002 +0000 |
tree | 58398e8839bce0d56a2c84c48e510e96844ffa57 | |
parent | 9738f395c6db4465ff6110f6b0952ee5f1a1e2e4 [diff] [blame] |
Fix unsigned vs. signed clash
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 918aabe..1d9b30d 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c
@@ -1055,7 +1055,7 @@ 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 */