mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Fixed usage of wrong variant of popcount.
This commit is contained in:
@@ -31,5 +31,5 @@ inline long int bit_scan_forward (Tukija::mword_t val)
|
||||
|
||||
inline Tukija::mword_t popcount(Tukija::mword_t bitset)
|
||||
{
|
||||
return __builtin_popcountl(bitset);
|
||||
return __builtin_popcountll(bitset);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user