diff options
author | Richard Levitte <levitte@openssl.org> | 2002-04-29 10:30:05 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-04-29 10:30:05 +0000 |
commit | 9cf94f9ed34f01301c0ae081f1ae0f1b04c8d7e5 (patch) | |
tree | 474284b2ccb034fce491eb62415e59cde10eea59 /ssl | |
parent | c15bf8f609672190dcda2720a37d8999d17bc54c (diff) |
Fix unsigned vs. signed clash
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssltest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index ebd3b527df..5f91ed19c7 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -850,7 +850,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 */ |