From 9cbf062a705de395b4d0e6c5783a239b8f743f15 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 5 Dec 2005 00:53:36 +0000 Subject: [PATCH] Update from stable branch. --- crypto/asn1/a_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.25.1