diff options
author | Dan Brown <[email protected]> | 2016-04-27 15:21:26 -0700 |
---|---|---|
committer | Dan Brown <[email protected]> | 2016-04-27 15:21:26 -0700 |
commit | a0a2b66b3b6ba9dd94f924ef9639570f4a4ae2b6 (patch) | |
tree | c4fdfd8e588a2550a0d2b6f5c41d1cdffffcacc6 /src/lib/tls/msg_cert_verify.cpp | |
parent | b55e9bca0c747154aeeb188df9a8a6eda6d65124 (diff) |
Add explicit static_cast operations to eliminate implicit cast compiler warnings.
Diffstat (limited to 'src/lib/tls/msg_cert_verify.cpp')
-rw-r--r-- | src/lib/tls/msg_cert_verify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/msg_cert_verify.cpp b/src/lib/tls/msg_cert_verify.cpp index 0d157dc57..2598255eb 100644 --- a/src/lib/tls/msg_cert_verify.cpp +++ b/src/lib/tls/msg_cert_verify.cpp @@ -65,7 +65,7 @@ std::vector<byte> Certificate_Verify::serialize() const buf.push_back(Signature_Algorithms::sig_algo_code(m_sig_algo)); } - const u16bit sig_len = m_signature.size(); + const u16bit sig_len = static_cast<u16bit>(m_signature.size()); buf.push_back(get_byte(0, sig_len)); buf.push_back(get_byte(1, sig_len)); buf += m_signature; |