Skip to content
Snippets Groups Projects
Commit ca59944c authored by Robert Butora's avatar Robert Butora
Browse files

works around a warning from protobuf: ByteSize() deprecated use ByteSizeLong()...

works around a warning from protobuf: ByteSize() deprecated use ByteSizeLong() (Note downcast: protobuf SerializeToArray() still uses int)
parent 1b8b071f
Branches
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ void PlainClient::startWriteRequest()
{
RequestSP request_sp = m_protocolManager_sp->createtRequest();
boost::uint32_t bodySize = request_sp->ByteSize();
boost::uint32_t bodySize = request_sp->ByteSizeLong();
#ifdef VERBOSE_DEBUG
INFO_STREAM << "PlainClient::startRequest() "
......
......@@ -177,7 +177,7 @@ void SSLClient::startWriteRequest()
{
RequestSP request_sp = m_protocolManager_sp->createtRequest();
boost::uint32_t bodySize = request_sp->ByteSize();
boost::uint32_t bodySize = request_sp->ByteSizeLong();
#ifdef VERBOSE_DEBUG
INFO_STREAM << "SSLClient::startWriteRequest() "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment