fix GCC warning

This commit is contained in:
toddouska
2013-07-09 09:57:55 -07:00
parent f9bf003718
commit 99b6c1d3c3

View File

@@ -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);