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

index ebd3b527df11457631d4d14cd0aa20cd1237c146..5f91ed19c73705c108623eb32fd8fef4237a5e59 100644 (file)
@@ -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 */