summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++/BlockingSslClientSocket.cpp
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-19 16:21:29 +0200
committertycho <work.tycho@gmail.com>2015-05-19 16:21:29 +0200
commit2bb25b8afab365da8a8f3db15d742b1ec12c2903 (patch)
tree0d758b963b8fbb03ff84735989936aef9a79e35f /src/PolarSSL++/BlockingSslClientSocket.cpp
parentFinish fixing windows (diff)
downloadcuberite-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++/BlockingSslClientSocket.cpp')
-rw-r--r--src/PolarSSL++/BlockingSslClientSocket.cpp2
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;