From 6398ef81ebd0b6c43a08e2a065534e83ed6ad342 Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 27 Sep 2016 21:01:11 +0300 Subject: [PATCH] Fixed minor gcc warnings --- test/stress/queue/intrusive_push_pop.cpp | 2 +- test/stress/queue/push_pop.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/stress/queue/intrusive_push_pop.cpp b/test/stress/queue/intrusive_push_pop.cpp index e93a0de7..1429d996 100644 --- a/test/stress/queue/intrusive_push_pop.cpp +++ b/test/stress/queue/intrusive_push_pop.cpp @@ -302,7 +302,7 @@ namespace { } } - EXPECT_EQ( arrData[0], 0 ) << "Writer " << nWriter; + EXPECT_EQ( arrData[0], 0u ) << "Writer " << nWriter; EXPECT_EQ( arrData[arrData.size() - 1], s_nThreadPushCount - 1 ) << "Writer " << nWriter; } } diff --git a/test/stress/queue/push_pop.cpp b/test/stress/queue/push_pop.cpp index 52ac53da..0d2b37bf 100644 --- a/test/stress/queue/push_pop.cpp +++ b/test/stress/queue/push_pop.cpp @@ -264,7 +264,7 @@ namespace { EXPECT_EQ( arrData[i - 1] + 1, arrData[i] ) << "producer=" << nWriter; } - EXPECT_EQ( arrData[0], 0 ) << "producer=" << nWriter; + EXPECT_EQ( arrData[0], 0u ) << "producer=" << nWriter; EXPECT_EQ( arrData[arrData.size() - 1], m_nThreadPushCount - 1 ) << "producer=" << nWriter; } } -- 2.34.1