projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df320c4
)
Some platforms define NULL as ((void *)0). Unfortunately, a void*
author
Richard Levitte
<levitte@openssl.org>
Sun, 17 Sep 2000 14:46:09 +0000
(14:46 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 17 Sep 2000 14:46:09 +0000
(14:46 +0000)
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
patch
|
blob
|
history
diff --git
a/crypto/stack/stack.c
b/crypto/stack/stack.c
index 2eb531fd0d4f287e016af363ad45127d60c684ef..02857f044664bf4ee34c21a6514855f9ee1ec718 100644
(file)
--- 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 *))