summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_mbstr.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2003-08-21 12:32:12 +0000
committerDr. Stephen Henson <steve@openssl.org>2003-08-21 12:32:12 +0000
commit510dc1ecd00296a17a9b680288290942d82beddf (patch)
tree553be6c127127a3a41137424c8bee8cf847e533d /crypto/asn1/a_mbstr.c
parent563c05e2dc77221c4aad740c3b89fc21c84652be (diff)
outlen should be int * in out_utf8.
Diffstat (limited to 'crypto/asn1/a_mbstr.c')
-rw-r--r--crypto/asn1/a_mbstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_mbstr.c b/crypto/asn1/a_mbstr.c
index 5d981c6553..e8a26af521 100644
--- a/crypto/asn1/a_mbstr.c
+++ b/crypto/asn1/a_mbstr.c
@@ -296,7 +296,7 @@ static int in_utf8(unsigned long value, void *arg)
static int out_utf8(unsigned long value, void *arg)
{
- long *outlen;
+ int *outlen;
outlen = arg;
*outlen += UTF8_putc(NULL, -1, value);
return 1;