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

index 5d981c6..e8a26af 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;