Update from stable branch.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 5 Dec 2005 00:53:36 +0000 (00:53 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 5 Dec 2005 00:53:36 +0000 (00:53 +0000)
crypto/asn1/a_object.c

index a11d25e1fb7a8b8ca172fb2a080e5a80e53dd969..0fbc368f0db569ec3a051ad4603007db439872b0 100644 (file)
@@ -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
                        {