mirror of https://github.com/PentHertz/srsLTE.git
Fixed FEC parity.h compilation error in 32-bit arch
This commit is contained in:
parent
4570802974
commit
6c59735554
|
@ -11,7 +11,7 @@
|
||||||
/* Determine parity of argument: 1 = odd, 0 = even */
|
/* Determine parity of argument: 1 = odd, 0 = even */
|
||||||
#ifdef __i386__
|
#ifdef __i386__
|
||||||
static inline int parityb(unsigned char x){
|
static inline int parityb(unsigned char x){
|
||||||
__asm__ __volatile__ ("test %1,%1;setpo %0" : "=g"(x) : "r" (x));
|
__asm__ __volatile__ ("test %1,%1;setpo %0" : "=qhm" (x) : "qh" (x));
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue