Fixed minor gcc warnings
authorkhizmax <libcds.dev@gmail.com>
Tue, 27 Sep 2016 18:01:11 +0000 (21:01 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 27 Sep 2016 18:01:11 +0000 (21:01 +0300)
test/stress/queue/intrusive_push_pop.cpp
test/stress/queue/push_pop.cpp

index e93a0de..1429d99 100644 (file)
@@ -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;
             }
         }
index 52ac53d..0d2b37b 100644 (file)
@@ -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;
             }
         }