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/stack | |
parent | 1749d8a039e637a6ab06f30cd0351605b44dc625 (diff) |
Seek out and destroy another evil cast.
Diffstat (limited to 'crypto/stack')
-rw-r--r-- | crypto/stack/stack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/stack/stack.c b/crypto/stack/stack.c index 8b96713884..9636a71a55 100644 --- a/crypto/stack/stack.c +++ b/crypto/stack/stack.c @@ -126,7 +126,7 @@ STACK *sk_new(int (*c)()) ret->sorted=0; return(ret); err1: - Free((char *)ret); + Free(ret); err0: return(NULL); } @@ -276,8 +276,8 @@ void sk_pop_free(STACK *st, void (*func)()) void sk_free(STACK *st) { if (st == NULL) return; - if (st->data != NULL) Free((char *)st->data); - Free((char *)st); + if (st->data != NULL) Free(st->data); + Free(st); } int sk_num(STACK *st) |