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:
a9b3499
)
Use 0 instead of NULL, at least for function casts, since there are
author
Richard Levitte
<levitte@openssl.org>
Tue, 20 Feb 2001 12:40:42 +0000
(12:40 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 20 Feb 2001 12:40:42 +0000
(12:40 +0000)
variants of stdio.h that define NULL in such a way that it's "unsafe"
to use for function pointer casting.
crypto/lhash/lhash.c
patch
|
blob
|
history
diff --git
a/crypto/lhash/lhash.c
b/crypto/lhash/lhash.c
index a07c26c578b8c009af8ef59b1604e75a12e941f6..3fb54b30e2a423c9ca1f53bd6e1acae2cef991e2 100644
(file)
--- a/
crypto/lhash/lhash.c
+++ b/
crypto/lhash/lhash.c
@@
-294,12
+294,12
@@
static void doall_util_fn(LHASH *lh, int use_arg, LHASH_DOALL_FN_TYPE func,
void lh_doall(LHASH *lh, LHASH_DOALL_FN_TYPE func)
{
- doall_util_fn(lh, 0, func, (LHASH_DOALL_ARG_FN_TYPE)
NULL
, NULL);
+ doall_util_fn(lh, 0, func, (LHASH_DOALL_ARG_FN_TYPE)
0
, NULL);
}
void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, const void *arg)
{
- doall_util_fn(lh, 1, (LHASH_DOALL_FN_TYPE)
NULL
, func, arg);
+ doall_util_fn(lh, 1, (LHASH_DOALL_FN_TYPE)
0
, func, arg);
}
static void expand(LHASH *lh)