diff options
author | Ulf Möller <ulf@openssl.org> | 2000-01-30 23:33:40 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-01-30 23:33:40 +0000 |
commit | 51ca375e7e640c6f1441d74abcda731ef7306d0c (patch) | |
tree | 8b661d70f98b8d819edea5f777117ec7be03fab7 /crypto/lhash/lhash.c | |
parent | 1749d8a039e637a6ab06f30cd0351605b44dc625 (diff) | |
download | openssl-51ca375e7e640c6f1441d74abcda731ef7306d0c.tar.gz |
Seek out and destroy another evil cast.
Diffstat (limited to 'crypto/lhash/lhash.c')
-rw-r--r-- | crypto/lhash/lhash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c index 4d025d7ee7..76d2eec9b2 100644 --- a/crypto/lhash/lhash.c +++ b/crypto/lhash/lhash.c @@ -149,7 +149,7 @@ LHASH *lh_new(unsigned long (*h)(), int (*c)()) ret->error=0; return(ret); err1: - Free((char *)ret); + Free(ret); err0: return(NULL); } @@ -172,8 +172,8 @@ void lh_free(LHASH *lh) n=nn; } } - Free((char *)lh->b); - Free((char *)lh); + Free(lh->b); + Free(lh); } void *lh_insert(LHASH *lh, void *data) @@ -233,7 +233,7 @@ void *lh_delete(LHASH *lh, void *data) nn= *rn; *rn=nn->next; ret=nn->data; - Free((char *)nn); + Free(nn); lh->num_delete++; } |