fix Windows debug build warning with secure renegotiation

This commit is contained in:
John Safranek 2016-12-09 14:31:21 -08:00
parent 7fa825fde0
commit e80331e03a

View File

@ -3143,7 +3143,7 @@ static word16 TLSX_SecureRenegotiation_Write(SecureRenegotiation* data,
}
}
output[0] = offset - 1; /* info length - self */
output[0] = (byte)(offset - 1); /* info length - self */
return offset;
}