From 95dc05bc6d0dfe0f3f3681f5e27afbc3f7a35eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Tue, 20 Apr 1999 22:50:42 +0000 Subject: Fix lots of warnings. Submitted by: Richard Levitte --- crypto/x509v3/v3_ia5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crypto/x509v3/v3_ia5.c') diff --git a/crypto/x509v3/v3_ia5.c b/crypto/x509v3/v3_ia5.c index f4042915f0..d590bef0ac 100644 --- a/crypto/x509v3/v3_ia5.c +++ b/crypto/x509v3/v3_ia5.c @@ -110,7 +110,8 @@ static ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method, return NULL; } if(!(ia5 = ASN1_IA5STRING_new())) goto err; - if(!ASN1_STRING_set((ASN1_STRING *)ia5, str, strlen(str))) { + if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str, + strlen(str))) { ASN1_IA5STRING_free(ia5); goto err; } -- cgit v1.2.3