summaryrefslogtreecommitdiffstats
path: root/libtransport/src
diff options
context:
space:
mode:
authorEnrico Loparco (eloparco) <eloparco@cisco.com>2022-09-16 14:53:05 +0000
committerEnrico Loparco (eloparco) <eloparco@cisco.com>2022-09-16 14:53:05 +0000
commit10e0758a2124e8d9d6253a9160e593303b38f71e (patch)
tree1580435d9a8d4309ed21abd0061f96462021d491 /libtransport/src
parentdf9f9d7967df41bf90628c2072419a21669fb9ce (diff)
fix(gcc): fix gcc warnings
Ref: HICN-787 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I2a69be00382f6e5b2544b766d6ac9e1f8cae4bd6
Diffstat (limited to 'libtransport/src')
-rw-r--r--libtransport/src/test/test_traffic_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/test/test_traffic_generator.cc b/libtransport/src/test/test_traffic_generator.cc
index 88cb2de75..733acbb74 100644
--- a/libtransport/src/test/test_traffic_generator.cc
+++ b/libtransport/src/test/test_traffic_generator.cc
@@ -88,7 +88,7 @@ TEST_F(TrafficGeneratorTest, IncrSuffixCheckSentCount) {
PREFIX, FIRST_SUFFIX, NUM_PINGS);
for (int i = 0; i < NUM_PINGS; i++) {
- EXPECT_EQ(traffic_generator_->getSentCount(), i);
+ EXPECT_EQ(traffic_generator_->getSentCount(), (uint32_t)i);
EXPECT_FALSE(traffic_generator_->hasFinished());
traffic_generator_->getSuffix();
}