diff options
author | Geoff Thorpe <geoff@openssl.org> | 2004-02-10 18:46:10 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2004-02-10 18:46:10 +0000 |
commit | 6c43032121b3403061119def69c5684ab955e7e2 (patch) | |
tree | e86fec1d01e8392689fbf2529940082e5e46b06e /crypto | |
parent | 37ead9be0b990b94ec6dbf466cdc05f53c18d442 (diff) | |
download | openssl-new-6c43032121b3403061119def69c5684ab955e7e2.tar.gz |
minor signed/unsigned warning fixes
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/des/cfb_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/cfb_enc.c b/crypto/des/cfb_enc.c index 225410efbe..0013556c78 100644 --- a/crypto/des/cfb_enc.c +++ b/crypto/des/cfb_enc.c @@ -84,7 +84,7 @@ void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, c2l(iv,v1); if (enc) { - while (l >= n) + while (l >= (unsigned long)n) { l-=n; ti[0]=v0; @@ -126,7 +126,7 @@ void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, } else { - while (l >= n) + while (l >= (unsigned long)n) { l-=n; ti[0]=v0; |