Fix unsigned vs. signed clash
authorRichard Levitte <levitte@openssl.org>
Mon, 29 Apr 2002 10:29:38 +0000 (10:29 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 29 Apr 2002 10:29:38 +0000 (10:29 +0000)
ssl/ssltest.c

index 918aabe..1d9b30d 100644 (file)
@@ -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 */