Commit f560fece 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 0a167a6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ void PlainClient::startWriteRequest()
    {
        RequestSP request_sp = m_protocolManager_sp->createRequest();

        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
@@ -200,7 +200,7 @@ void SSLClient::startWriteRequest()
    {
        RequestSP request_sp = m_protocolManager_sp->createRequest();

        boost::uint32_t bodySize = request_sp->ByteSize();
        boost::uint32_t bodySize = request_sp->ByteSizeLong();

        #ifdef VERBOSE_DEBUG
            INFO_STREAM << "SSLClient::startWriteRequest() "