summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-03-16 20:59:10 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-03-16 20:59:10 +0000
commit7c337e00d23ac421ff1949ac1bbce2e8b718299e (patch)
tree3a7976f3d6a98d1273170ec17feda7db109a40a6 /crypto/asn1
parent7e8481afd12c596b5c905596d6facae60834854a (diff)
Fix some warnings.
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/a_type.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/a_type.c b/crypto/asn1/a_type.c
index 90f14241e7..a45d2f9d12 100644
--- a/crypto/asn1/a_type.c
+++ b/crypto/asn1/a_type.c
@@ -87,7 +87,8 @@ int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value)
{
if (!value || (type == V_ASN1_BOOLEAN))
{
- ASN1_TYPE_set(a, type, (void *)value);
+ void *p = (void *)value;
+ ASN1_TYPE_set(a, type, p);
}
else if (type == V_ASN1_OBJECT)
{