summaryrefslogtreecommitdiffstats
path: root/crypto/objects/o_names.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2008-11-12 04:58:08 +0100
committerGeoff Thorpe <geoff@openssl.org>2008-11-12 04:58:08 +0100
commit6343829a391df59e46e513c84b6264ee71ad9518 (patch)
tree9823103bf5828e47081ac906203516bdc332f577 /crypto/objects/o_names.c
parentTolerate -----BEGIN PKCS #7 SIGNED DATA----- header lines as used by some (diff)
downloadopenssl-6343829a391df59e46e513c84b6264ee71ad9518.tar.xz
openssl-6343829a391df59e46e513c84b6264ee71ad9518.zip
Revert the size_t modifications from HEAD that had led to more
knock-on work than expected - they've been extracted into a patch series that can be completed elsewhere, or in a different branch, before merging back to HEAD.
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 992a6ee983..84380a96a9 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;
- size_t n;
+ int 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(d.names,d.n,sizeof *d.names,do_all_sorted_cmp);
+ qsort((void *)d.names,d.n,sizeof *d.names,do_all_sorted_cmp);
for(n=0 ; n < d.n ; ++n)
fn(d.names[n],arg);