diff options
author | Ben Laurie <ben@openssl.org> | 2008-11-01 15:37:00 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-11-01 15:37:00 +0100 |
commit | 4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33 (patch) | |
tree | 9b43a103ede688bfb7b006837387dacb02ec3dc5 /crypto/objects/o_names.c | |
parent | Fix SHA512 and optimize BN for mingw64. (diff) | |
download | openssl-4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33.tar.xz openssl-4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33.zip |
size_tification.
Diffstat (limited to 'crypto/objects/o_names.c')
-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 84380a96a9..992a6ee983 100644 --- a/crypto/objects/o_names.c +++ b/crypto/objects/o_names.c @@ -289,7 +289,7 @@ void OBJ_NAME_do_all(int type,void (*fn)(const OBJ_NAME *,void *arg),void *arg) struct doall_sorted { int type; - int n; + size_t n; const OBJ_NAME **names; }; @@ -322,7 +322,7 @@ void OBJ_NAME_do_all_sorted(int type,void (*fn)(const OBJ_NAME *,void *arg), d.n=0; OBJ_NAME_do_all(type,do_all_sorted_fn,&d); - qsort((void *)d.names,d.n,sizeof *d.names,do_all_sorted_cmp); + qsort(d.names,d.n,sizeof *d.names,do_all_sorted_cmp); for(n=0 ; n < d.n ; ++n) fn(d.names[n],arg); |