mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-08 14:45:24 +00:00
Minor
This commit is contained in:
parent
dd33e4e96b
commit
2ee710e02f
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ _hb_popcount64 (uint64_t mask)
|
|||
if (sizeof (long) >= sizeof (mask))
|
||||
return __builtin_popcountl (mask);
|
||||
#endif
|
||||
return _hb_popcount32 (mask) + _hb_popcount32 (mask >> 32);
|
||||
return _hb_popcount32 (mask & 0xFFFFFFFF) + _hb_popcount32 (mask >> 32);
|
||||
}
|
||||
template <typename T> static inline unsigned int _hb_popcount (T mask);
|
||||
template <> inline unsigned int _hb_popcount<uint32_t> (uint32_t mask) { return _hb_popcount32 (mask); }
|
||||
|
|
Loading…
Add table
Reference in a new issue