From 60dae9985d0120c62552776919ca474266649908 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 17 Sep 2000 14:46:09 +0000 Subject: [PATCH] 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. --- crypto/stack/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *)) -- 2.25.1