signed/unsigned mismatch (VC++)
authorUlf Möller <ulf@openssl.org>
Fri, 25 Feb 2000 14:03:21 +0000 (14:03 +0000)
committerUlf Möller <ulf@openssl.org>
Fri, 25 Feb 2000 14:03:21 +0000 (14:03 +0000)
Submitted by: Peter 'Luna' Runestig" <peter+openssl-users@runestig.com>

ssl/s3_pkt.c

index 97501dc..9d93d69 100644 (file)
@@ -846,7 +846,7 @@ start:
                if (dest_maxlen > 0)
                        {
                        n = dest_maxlen - *dest_len; /* available space in 'dest' */
-                       if (rr->length < n)
+                       if (rr->length < (unsigned int) n)
                                n = rr->length; /* available bytes */
 
                        /* now move 'n' bytes: */