diff --git a/crypto/asn1/a_mbstr.c b/crypto/asn1/a_mbstr.c index 5d981c655387c385fcaeb7b44eb75a3a72aabf4b..e8a26af521f23e8895753ed970b250fe7ffd666a 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;