diff --git a/src/SFML/Network/Ftp.cpp b/src/SFML/Network/Ftp.cpp index c77ccd2fa..af3be1a43 100644 --- a/src/SFML/Network/Ftp.cpp +++ b/src/SFML/Network/Ftp.cpp @@ -463,7 +463,7 @@ Ftp::Response Ftp::getResponse() } // Save the remaining data for the next time getResponse() is called - m_receiveBuffer.assign(buffer + static_cast(in.tellg()), length - static_cast(in.tellg())); + m_receiveBuffer.assign(buffer + static_cast(in.tellg()), length - static_cast(in.tellg())); // Return the response code and message return Response(static_cast(code), message);