Commit 60dae998 authored by Richard Levitte's avatar Richard Levitte
Browse files

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.
parent df320c44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 *))