Unbreak VC++ build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34917 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen
2007-03-05 00:00:42 +00:00
parent f298fd0428
commit ca5183d445
26 changed files with 173 additions and 60 deletions

View File

@@ -255,7 +255,7 @@ inline unsigned CountPopulation_64(uint64_t Value) {
uint64_t v = Value - ((Value >> 1) & 0x5555555555555555ULL);
v = (v & 0x3333333333333333ULL) + ((v >> 2) & 0x3333333333333333ULL);
v = (v + (v >> 4)) & 0x0F0F0F0F0F0F0F0FULL;
return (uint64_t)(v * 0x0101010101010101ULL) >> 56;
return unsigned((uint64_t)(v * 0x0101010101010101ULL) >> 56);
#endif
}