diff options
author | Richard Levitte <levitte@openssl.org> | 2001-02-20 12:40:42 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-02-20 12:40:42 +0000 |
commit | 5af18f65f4897c5716196b9a13b3b6746634fd36 (patch) | |
tree | 38878a9f8157b73c0fd93ad2811bd377474c3550 /crypto | |
parent | a9b34991d98eb5104fe6cf23d61ce83c23c58384 (diff) | |
download | openssl-5af18f65f4897c5716196b9a13b3b6746634fd36.tar.gz |
Use 0 instead of NULL, at least for function casts, since there are
variants of stdio.h that define NULL in such a way that it's "unsafe"
to use for function pointer casting.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/lhash/lhash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c index a07c26c578..3fb54b30e2 100644 --- 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) |