fix GCC warning

pull/1/head
toddouska 2013-07-09 09:57:55 -07:00
parent f9bf003718
commit 99b6c1d3c3
1 changed files with 1 additions and 1 deletions

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