diff --git a/lib/src/upper/rlc_am.cc b/lib/src/upper/rlc_am.cc index 3f976bd91..faa9600f4 100644 --- a/lib/src/upper/rlc_am.cc +++ b/lib/src/upper/rlc_am.cc @@ -31,8 +31,8 @@ #include #define MOD 1024 -#define RX_MOD_BASE(x) (x-vr_r)%1024 -#define TX_MOD_BASE(x) (x-vt_a)%1024 +#define RX_MOD_BASE(x) ((x-vr_r)%1024) +#define TX_MOD_BASE(x) ((x-vt_a)%1024) namespace srslte {