outlen should be int * in out_utf8.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 21 Aug 2003 12:31:17 +0000 (12:31 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 21 Aug 2003 12:31:17 +0000 (12:31 +0000)
crypto/asn1/a_mbstr.c

index 5d981c655387c385fcaeb7b44eb75a3a72aabf4b..e8a26af521f23e8895753ed970b250fe7ffd666a 100644 (file)
@@ -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;