From: khizmax Date: Tue, 27 Sep 2016 18:01:11 +0000 (+0300) Subject: Fixed minor gcc warnings X-Git-Tag: v2.2.0~111 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6398ef81ebd0b6c43a08e2a065534e83ed6ad342;p=libcds.git Fixed minor gcc warnings --- 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; } }