summaryrefslogtreecommitdiffstats
path: root/crypto/objects/o_names.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-11-01 15:37:00 +0100
committerBen Laurie <ben@openssl.org>2008-11-01 15:37:00 +0100
commit4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33 (patch)
tree9b43a103ede688bfb7b006837387dacb02ec3dc5 /crypto/objects/o_names.c
parentFix SHA512 and optimize BN for mingw64. (diff)
downloadopenssl-4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33.tar.xz
openssl-4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33.zip
size_tification.
Diffstat (limited to 'crypto/objects/o_names.c')
-rw-r--r--crypto/objects/o_names.c4
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);