Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-02-25 17:03:21 +0300
committerUlf Möller <ulf@openssl.org>2000-02-25 17:03:21 +0300
commita3b17baf4ee8edbf1c9f5ffec922734129041cac (patch)
tree31c0af0c18ae427060bef83b1044a6a97f0a38ac /ssl/s3_pkt.c
parentb478e91fda91bc99776e3d0ae40a77153e868f99 (diff)
signed/unsigned mismatch (VC++)
Submitted by: Peter 'Luna' Runestig" <peter+openssl-users@runestig.com>
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 97501dcac8..9d93d6910c 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -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: */