From: Richard Levitte Date: Wed, 28 Jan 2004 08:48:15 +0000 (+0000) Subject: Unsigned vs. signed problem removed X-Git-Tag: OpenSSL_0_9_7d~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb37947a71a0aa770e5e7b5967160cdf69b6ebbd;p=oweals%2Fopenssl.git Unsigned vs. signed problem removed --- diff --git a/crypto/des/cfb64ede.c b/crypto/des/cfb64ede.c index 5a54c11026..453b078d30 100644 --- a/crypto/des/cfb64ede.c +++ b/crypto/des/cfb64ede.c @@ -151,8 +151,8 @@ void DES_ede3_cfb_encrypt(const unsigned char *in,unsigned char *out, DES_cblock *ivec,int enc) { register DES_LONG d0,d1,v0,v1; - register unsigned long l=length; - register int num=numbits,n=(numbits+7)/8,i; + register unsigned long l=length,n=((unsigned int)numbits+7)/8; + register int num=numbits,i; DES_LONG ti[2]; unsigned char *iv; unsigned char ovec[16];