diff --git a/server/SynchronousSocket.cpp b/server/SynchronousSocket.cpp index db5c123..a8da3f7 100644 --- a/server/SynchronousSocket.cpp +++ b/server/SynchronousSocket.cpp @@ -122,7 +122,7 @@ string SynchronousSocket::Receive(int amount) } else { - r += (string)(buf, res); + r += string(buf, res); } } return r;