From 247b03172c34f25a808bcfdc49f390d619e7d5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Thu, 7 Dec 2017 14:46:19 +0100 Subject: [PATCH] Fixed casting type. --- src/SFML/Network/Ftp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Network/Ftp.cpp b/src/SFML/Network/Ftp.cpp index c77ccd2f..af3be1a4 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);