mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Some platforms define NULL as ((void *)0). Unfortunately, a void*
can't be used as a function pointer according the the standards. Use a 0 instead and there will be no trouble.
This commit is contained in:
parent
df320c4473
commit
60dae9985d
@ -111,7 +111,7 @@ err:
|
|||||||
|
|
||||||
STACK *sk_new_null(void)
|
STACK *sk_new_null(void)
|
||||||
{
|
{
|
||||||
return sk_new((int (*)(const char * const *, const char * const *))NULL);
|
return sk_new((int (*)(const char * const *, const char * const *))0);
|
||||||
}
|
}
|
||||||
|
|
||||||
STACK *sk_new(int (*c)(const char * const *, const char * const *))
|
STACK *sk_new(int (*c)(const char * const *, const char * const *))
|
||||||
|
Loading…
Reference in New Issue
Block a user