X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2b1f4228c2987459445d30443f92038f9ea080c6..ea6a49dc5edcf3ffbb9e9bcf6d35429e812b05af:/common/parity.h?ds=inline diff --git a/common/parity.h b/common/parity.h index 6adfdb30..79b8221d 100644 --- a/common/parity.h +++ b/common/parity.h @@ -27,7 +27,7 @@ static inline uint8_t evenparity8(const uint8_t bt) } -static inline uint32_t evenparity32(uint32_t x) +static inline uint8_t evenparity32(uint32_t x) { x ^= x >> 16; x ^= x >> 8;