diff options
author | Ulf Möller <ulf@openssl.org> | 2000-02-25 14:03:21 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-02-25 14:03:21 +0000 |
commit | a3b17baf4ee8edbf1c9f5ffec922734129041cac (patch) | |
tree | 31c0af0c18ae427060bef83b1044a6a97f0a38ac /ssl/s3_pkt.c | |
parent | b478e91fda91bc99776e3d0ae40a77153e868f99 (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.c | 2 |
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: */ |