cast return from XSTRLEN

This commit is contained in:
Jacob Barthelmeh 2018-02-23 17:35:44 -07:00
parent 9391c608cc
commit 942f39de3b

View File

@ -4288,7 +4288,7 @@ static int GetName(DecodedCert* cert, int nameType)
}
if (copy && !tooBig) {
XMEMCPY(&full[idx], copy, XSTRLEN(copy));
idx += XSTRLEN(copy);
idx += (word32)XSTRLEN(copy);
XMEMCPY(&full[idx], &cert->source[cert->srcIdx], strLen);
idx += strLen;
}