diff options
author | tycho <work.tycho@gmail.com> | 2015-05-19 16:21:29 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-19 16:21:29 +0200 |
commit | 2bb25b8afab365da8a8f3db15d742b1ec12c2903 (patch) | |
tree | 0d758b963b8fbb03ff84735989936aef9a79e35f /src/PolarSSL++ | |
parent | Finish fixing windows (diff) | |
download | cuberite-2bb25b8afab365da8a8f3db15d742b1ec12c2903.tar cuberite-2bb25b8afab365da8a8f3db15d742b1ec12c2903.tar.gz cuberite-2bb25b8afab365da8a8f3db15d742b1ec12c2903.tar.bz2 cuberite-2bb25b8afab365da8a8f3db15d742b1ec12c2903.tar.lz cuberite-2bb25b8afab365da8a8f3db15d742b1ec12c2903.tar.xz cuberite-2bb25b8afab365da8a8f3db15d742b1ec12c2903.tar.zst cuberite-2bb25b8afab365da8a8f3db15d742b1ec12c2903.zip |
Diffstat (limited to 'src/PolarSSL++')
-rw-r--r-- | src/PolarSSL++/BlockingSslClientSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PolarSSL++/BlockingSslClientSocket.cpp b/src/PolarSSL++/BlockingSslClientSocket.cpp index 821125b31..6a418dd7c 100644 --- a/src/PolarSSL++/BlockingSslClientSocket.cpp +++ b/src/PolarSSL++/BlockingSslClientSocket.cpp @@ -200,7 +200,7 @@ bool cBlockingSslClientSocket::Send(const void * a_Data, size_t a_NumBytes) else { Data += res; - NumBytes -= res; + NumBytes -= static_cast<size_t>(res); if (NumBytes == 0) { return true; |