mirror of https://github.com/wolfSSL/wolfssl.git
fix GCC warning
parent
f9bf003718
commit
99b6c1d3c3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue