diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-03-16 20:59:10 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-03-16 20:59:10 +0000 |
commit | 7c337e00d23ac421ff1949ac1bbce2e8b718299e (patch) | |
tree | 3a7976f3d6a98d1273170ec17feda7db109a40a6 /crypto/asn1/a_type.c | |
parent | 7e8481afd12c596b5c905596d6facae60834854a (diff) |
Fix some warnings.
Diffstat (limited to 'crypto/asn1/a_type.c')
-rw-r--r-- | crypto/asn1/a_type.c | 3 |
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) { |