From: Dr. Stephen Henson Date: Sun, 4 Dec 2005 21:34:51 +0000 (+0000) Subject: Fix warning. X-Git-Tag: OpenSSL_0_9_8b~72 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0632284f79cca9343a14b50cf4c570e0aacc9b90;p=oweals%2Fopenssl.git Fix warning. --- diff --git a/crypto/asn1/a_object.c b/crypto/asn1/a_object.c index a11d25e1fb..0fbc368f0d 100644 --- a/crypto/asn1/a_object.c +++ b/crypto/asn1/a_object.c @@ -186,7 +186,7 @@ int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num) goto err; } while(blsize--) - tmp[i++] = BN_div_word(bl, 0x80L); + tmp[i++] = (unsigned char)BN_div_word(bl, 0x80L); } else {