diff options
Diffstat (limited to 'apps/openssl.c')
-rw-r--r-- | apps/openssl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/openssl.c b/apps/openssl.c index cbb77b0c0a..40bcb76341 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -351,7 +351,9 @@ static LHASH *prog_init(void) ; qsort(functions,i,sizeof *functions,SortFnByName); - if ((ret=lh_new(hash,cmp)) == NULL) return(NULL); + if ((ret=lh_new((LHASH_HASH_FN_TYPE)hash, + (LHASH_COMP_FN_TYPE)cmp)) == NULL) + return(NULL); for (f=functions; f->name != NULL; f++) lh_insert(ret,f); |