From 0632284f79cca9343a14b50cf4c570e0aacc9b90 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 4 Dec 2005 21:34:51 +0000 Subject: [PATCH] Fix warning. --- 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 {