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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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() "
+1 −1
Original line number Diff line number Diff line
@@ -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() "