This commit is contained in:
iceman1001 2021-04-17 13:16:39 +02:00
commit 15d14f8259
2 changed files with 9 additions and 7 deletions

View file

@ -29,7 +29,7 @@ static inline uint8_t evenparity32(uint32_t x) {
x ^= x >> 8;
return evenparity8(x);
#else
return __builtin_parity(x);
return (__builtin_parity(x) & 0xFF);
#endif
}