projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a variety of warnings generated by some elevated compiler-fascism,
[openssl.git]
/
crypto
/
asn1
/
a_type.c
diff --git
a/crypto/asn1/a_type.c
b/crypto/asn1/a_type.c
index 90f14241e757f9ff52f12c2f66ed065c753039a5..a45d2f9d12ddbc52088b2c3fa2ab260695417965 100644
(file)
--- 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)
{