for ( size_t i = 0; i < pool.size(); ++i ) {
Producer<PQueue>& prod = static_cast<Producer<PQueue>&>(pool.get( i ));
- EXPECT_EQ( prod.m_nPushError, 0 ) << "producer=" << i;
+ EXPECT_EQ( prod.m_nPushError, 0u ) << "producer=" << i;
}
EXPECT_FALSE( q.empty());
s_nThreadCount = cfg.get_size_t( "ThreadCount", s_nThreadCount );
s_nQueueSize = cfg.get_size_t( "QueueSize", s_nQueueSize );
- if ( s_nThreadCount == 0 )
+ if ( s_nThreadCount == 0u )
s_nThreadCount = 1;
- if ( s_nQueueSize == 0 )
+ if ( s_nQueueSize == 0u )
s_nQueueSize = 1000;
}