diff options
author | Richard Levitte <levitte@openssl.org> | 2001-02-20 14:00:29 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-02-20 14:00:29 +0000 |
commit | b8feddae715c64d2a33a79ac90d962a6a927e7dd (patch) | |
tree | 87f02e95f965902940c3cad0c5d1ac63bd1f79e7 | |
parent | a9daa46758d6150e42c925d42807e6ae20182d89 (diff) | |
download | openssl-b8feddae715c64d2a33a79ac90d962a6a927e7dd.tar.gz |
Get the right cast for lhash callback functions.
-rw-r--r-- | crypto/objects/o_names.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/objects/o_names.c b/crypto/objects/o_names.c index 03d65397b8..f381b395d0 100644 --- a/crypto/objects/o_names.c +++ b/crypto/objects/o_names.c @@ -67,8 +67,8 @@ int OBJ_NAME_new_index(unsigned long (*hash_func)(const char *), { MemCheck_off(); name_funcs = OPENSSL_malloc(sizeof(NAME_FUNCS)); - name_funcs->hash_func = lh_strhash; - name_funcs->cmp_func = strcmp; + name_funcs->hash_func = (LHASH_HASH_FN_TYPE)lh_strhash; + name_funcs->cmp_func = (LHASH_COMP_FN_TYPE)strcmp; name_funcs->free_func = 0; /* NULL is often declared to * ((void *)0), which according * to Compaq C is not really |