Fixed casting type.
This commit is contained in:
parent
6f3282623f
commit
247b03172c
@ -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<std::streamoff>(in.tellg()), length - static_cast<std::size_t>(in.tellg()));
|
||||
m_receiveBuffer.assign(buffer + static_cast<std::size_t>(in.tellg()), length - static_cast<std::size_t>(in.tellg()));
|
||||
|
||||
// Return the response code and message
|
||||
return Response(static_cast<Response::Status>(code), message);
|
||||
|
Loading…
Reference in New Issue
Block a user