properly cast from int to bool
This commit is contained in:
parent
2064934939
commit
efbda436f3
@ -105,7 +105,7 @@ template <class ContainerT> class IteratorbasedCRC32
|
||||
{
|
||||
static const int SSE42_BIT = 0x00100000;
|
||||
const unsigned ecx = cpuid();
|
||||
const bool has_SSE42 = ecx & SSE42_BIT;
|
||||
const bool has_SSE42 = (ecx & SSE42_BIT) != 0;
|
||||
if (has_SSE42)
|
||||
{
|
||||
SimpleLogger().Write() << "using hardware based CRC32 computation";
|
||||
|
Loading…
Reference in New Issue
Block a user