Fix Linux/GCC compilation issue.

This commit is contained in:
Adrian Conlon 2021-10-21 22:58:52 +01:00
parent e63ace34e9
commit 6e364ad774
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ inline int EightBit::countBits(uint8_t value) noexcept {
inline bool EightBit::oddParity(const uint8_t value) noexcept {
#ifdef __GNUG__
return __builtin_parity(value)
return __builtin_parity(value);
#else
return countBits(value) % 2;
#endif