face: increment link layer byte counters in WebSocketFace
Change-Id: I88b7dea1cbd291765345982ce193700aacd73eb3
Refs: #1781
diff --git a/tests/core/segment-publisher.cpp b/tests/core/segment-publisher.cpp
index da35376..f859408 100644
--- a/tests/core/segment-publisher.cpp
+++ b/tests/core/segment-publisher.cpp
@@ -37,7 +37,7 @@
NFD_LOG_INIT("SegmentPublisherTest");
-template<size_t N=10000>
+template<int64_t N=10000>
class TestSegmentPublisher : public SegmentPublisher<DummyFace>
{
public:
@@ -73,7 +73,7 @@
generate(ndn::EncodingBuffer& outBuffer)
{
size_t totalLength = 0;
- for (uint64_t i = 0; i < N; i++)
+ for (int64_t i = 0; i < N; i++)
{
totalLength += prependNonNegativeIntegerBlock(outBuffer, ndn::Tlv::Content, i);
}
@@ -85,7 +85,7 @@
size_t m_totalPayloadLength;
};
-template<size_t N>
+template<int64_t N>
class SegmentPublisherFixture : public BaseFixture
{
public: