diff options
author | Jose <jose@zeroc.com> | 2016-11-14 10:40:27 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-11-14 10:40:27 +0100 |
commit | d2cc84bf38485c8976dc9e464d5c738f65099094 (patch) | |
tree | a655268f70ca16444517ccf33c8f2303a44be321 /cpp/src | |
parent | Replaced non-public double underscores in C++ (diff) | |
download | ice-d2cc84bf38485c8976dc9e464d5c738f65099094.tar.bz2 ice-d2cc84bf38485c8976dc9e464d5c738f65099094.tar.xz ice-d2cc84bf38485c8976dc9e464d5c738f65099094.zip |
UWP x64 fail to build fix
Diffstat (limited to 'cpp/src')
-rwxr-xr-x | cpp/src/IceSSL/Certificate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/Certificate.cpp b/cpp/src/IceSSL/Certificate.cpp index 3f4eb05bed9..c325d51ec24 100755 --- a/cpp/src/IceSSL/Certificate.cpp +++ b/cpp/src/IceSSL/Certificate.cpp @@ -1256,7 +1256,7 @@ Certificate::decode(const string& encoding) vector<unsigned char> data(IceInternal::Base64::decode(string(&encoding[startpos], size))); auto writer = ref new DataWriter(); - writer->WriteBytes(Platform::ArrayReference<unsigned char>(&data[0], data.size())); + writer->WriteBytes(Platform::ArrayReference<unsigned char>(&data[0], static_cast<unsigned int>(data.size()))); return make_shared<Certificate>(ref new Certificates::Certificate(writer->DetachBuffer())); #else # error "Unknown platform" |