fix warning
authorBodo Möller <bodo@openssl.org>
Mon, 6 May 2002 10:44:08 +0000 (10:44 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 6 May 2002 10:44:08 +0000 (10:44 +0000)
ssl/s3_pkt.c

index 9ce82376e8cca19a379663fd4e9fd7e2b76cf092..43e8502b66f86c8b49f6250c08cfe8aa95cd4cdd 100644 (file)
@@ -604,7 +604,7 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
                        if (prefix_len <= 0)
                                goto err;
 
-                       if (s->s3->wbuf.len < prefix_len + SSL3_RT_MAX_PACKET_SIZE)
+                       if (s->s3->wbuf.len < (size_t)prefix_len + SSL3_RT_MAX_PACKET_SIZE)
                                {
                                /* insufficient space */
                                SSLerr(SSL_F_DO_SSL3_WRITE, ERR_R_INTERNAL_ERROR);