X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=test%2Fstress%2Fqueue%2Fintrusive_push_pop.cpp;h=389f70d7d2d20b465f9abefcc6868bf06f0da728;hp=33640dbedebbceb018c83b0146715012d4da6e8f;hb=025501fba2f37ec3e8dd0f187c49fc22c18ed951;hpb=0acf9f11bb0428faf75871e1de1aad7d5c26ed93 diff --git a/test/stress/queue/intrusive_push_pop.cpp b/test/stress/queue/intrusive_push_pop.cpp index 33640dbe..389f70d7 100644 --- a/test/stress/queue/intrusive_push_pop.cpp +++ b/test/stress/queue/intrusive_push_pop.cpp @@ -206,11 +206,11 @@ namespace { s_nFCPassCount = cfg.get_uint( "FCPassCount", s_nFCPassCount ); s_nFCCompactFactor = cfg.get_uint( "FCCompactFactor", s_nFCCompactFactor ); - if ( s_nReaderThreadCount == 0 ) + if ( s_nReaderThreadCount == 0u ) s_nReaderThreadCount = 1; - if ( s_nWriterThreadCount == 0 ) + if ( s_nWriterThreadCount == 0u ) s_nWriterThreadCount = 1; - if ( s_nQueueSize == 0 ) + if ( s_nQueueSize == 0u ) s_nQueueSize = 1000; } @@ -352,7 +352,7 @@ namespace { if ( it->nConsumer == c_nBadConsumer ) ++nBadConsumerCount; } - EXPECT_EQ( nBadConsumerCount, 0 ); + EXPECT_EQ( nBadConsumerCount, 0u ); } analyze( q, nLeftOffset, nRightOffset );