提交 60dae998 编写于 作者: R Richard Levitte

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.
上级 df320c44
......@@ -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 *))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册