diff options
author | Jack Lloyd <[email protected]> | 2017-08-31 07:13:58 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-31 07:13:58 -0400 |
commit | df4287c3c763de14b262ed39d54b3de552adbefb (patch) | |
tree | 10b839bab8d2e36a806951bb2e5e5f0212f7a0f9 /src/lib/tls/tls_policy.h | |
parent | 17ef09021892afc4c0e9fe7ba97423bf832e6dc5 (diff) |
Fix various MSVC warnings
Based on VC2017 output
Diffstat (limited to 'src/lib/tls/tls_policy.h')
-rw-r--r-- | src/lib/tls/tls_policy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h index 6ddfff749..35d439399 100644 --- a/src/lib/tls/tls_policy.h +++ b/src/lib/tls/tls_policy.h @@ -526,9 +526,9 @@ class BOTAN_DLL Text_Policy : public Policy std::vector<uint16_t> srtp_profiles() const override { std::vector<uint16_t> r; - for(auto&& p : get_list("srtp_profiles", std::vector<std::string>())) + for(std::string p : get_list("srtp_profiles", std::vector<std::string>())) { - r.push_back(to_u32bit(p)); + r.push_back(to_uint16(p)); } return r; } |