diff options
author | deraadt <> | 2014-06-07 14:41:57 +0000 |
---|---|---|
committer | deraadt <> | 2014-06-07 14:41:57 +0000 |
commit | 6e812251158ecbc0733dba21489ebce1248ebb33 (patch) | |
tree | c0956c22011ba4358ae4ab650adf0e744f93f40c /src/lib/libcrypto/asn1 | |
parent | 369f4c90b9a7f7864572479745455d29b0777219 (diff) | |
download | openbsd-6e812251158ecbc0733dba21489ebce1248ebb33.tar.gz openbsd-6e812251158ecbc0733dba21489ebce1248ebb33.tar.bz2 openbsd-6e812251158ecbc0733dba21489ebce1248ebb33.zip |
malloc() result does not need a cast.
ok miod
Diffstat (limited to 'src/lib/libcrypto/asn1')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_mac.h b/src/lib/libcrypto/asn1/asn1_mac.h index da03a8cb92..9ca6a49fd4 100644 --- a/src/lib/libcrypto/asn1/asn1_mac.h +++ b/src/lib/libcrypto/asn1/asn1_mac.h | |||
@@ -289,7 +289,7 @@ err:\ | |||
289 | 289 | ||
290 | /* New macros */ | 290 | /* New macros */ |
291 | #define M_ASN1_New_Malloc(ret,type) \ | 291 | #define M_ASN1_New_Malloc(ret,type) \ |
292 | if ((ret=(type *)malloc(sizeof(type))) == NULL) \ | 292 | if ((ret = malloc(sizeof(type))) == NULL) \ |
293 | { c.line=__LINE__; goto err2; } | 293 | { c.line=__LINE__; goto err2; } |
294 | 294 | ||
295 | #define M_ASN1_New(arg,func) \ | 295 | #define M_ASN1_New(arg,func) \ |