Cleared warning under Visual Studio

pull/35/head
Jeffrey Walton 2015-07-17 10:39:45 -04:00
parent ca6a93bbc5
commit 3faaf986a4
1 changed files with 1 additions and 1 deletions

View File

@ -3181,7 +3181,7 @@ size_t Integer::OpenPGPEncode(byte *output, size_t len) const
size_t Integer::OpenPGPEncode(BufferedTransformation &bt) const
{
word16 bitCount = BitCount();
word16 bitCount = static_cast<word16>(BitCount());
bt.PutWord16(bitCount);
size_t byteCount = BitsToBytes(bitCount);
Encode(bt, byteCount);