diff options
author | Richard Levitte <levitte@openssl.org> | 2000-09-17 14:46:09 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-09-17 14:46:09 +0000 |
commit | 60dae9985d0120c62552776919ca474266649908 (patch) | |
tree | 79e2197449d24f7d39d4862b6d95386c1aee8cbe /crypto | |
parent | df320c4473c7addf2b928849ecb8a116cf95af2f (diff) |
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.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/stack/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/stack/stack.c b/crypto/stack/stack.c index 2eb531fd0d..02857f0446 100644 --- a/crypto/stack/stack.c +++ b/crypto/stack/stack.c @@ -111,7 +111,7 @@ err: 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 *)) |