From 99b6c1d3c3a88e78641fe98478999f8c5c3245dd Mon Sep 17 00:00:00 2001 From: toddouska Date: Tue, 9 Jul 2013 09:57:55 -0700 Subject: [PATCH] fix GCC warning --- ctaocrypt/src/asn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctaocrypt/src/asn.c b/ctaocrypt/src/asn.c index 68a4663c9..700cb5139 100644 --- a/ctaocrypt/src/asn.c +++ b/ctaocrypt/src/asn.c @@ -2389,7 +2389,7 @@ static void DecodeAltNames(byte* input, int sz, DecodedCert* cert) CYASSL_MSG("\tfail: str length"); return; } - length -= (idx - lenStartIdx); + length -= (int)(idx - lenStartIdx); entry = (DNS_entry*)XMALLOC(sizeof(DNS_entry), cert->heap, DYNAMIC_TYPE_ALTNAME);