Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jun 21, 2024
1 parent b158389 commit 2bec034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/x86_cpuid.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ check_cxx_source_compiles("
primecount::run_cpuid(1, 0, abcd);
int ecx = abcd[2];
if (ecx & (1 << 23) == (1 << 23))
if ((ecx & (1 << 23)) == (1 << 23))
std::cout << \"CPU supports POPCNT!\" << std::endl;
else
std::cout << \"CPU does not support POPCNT!\" << std::endl;
Expand Down

0 comments on commit 2bec034

Please sign in to comment.