From a6ab1cb002e8693d89d6347e72bbefcd4612db97 Mon Sep 17 00:00:00 2001 From: roux <roux@mycompany.com> Date: Fri, 2 Oct 2015 11:23:49 +0000 Subject: [PATCH] fix an arithmetic overflow git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7872 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair1/SCHED/phy_procedures_lte_eNb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/SCHED/phy_procedures_lte_eNb.c b/openair1/SCHED/phy_procedures_lte_eNb.c index fcddd63e19..2fd7aa52c8 100755 --- a/openair1/SCHED/phy_procedures_lte_eNb.c +++ b/openair1/SCHED/phy_procedures_lte_eNb.c @@ -3218,7 +3218,7 @@ void phy_procedures_eNB_RX(const unsigned char sched_subframe,PHY_VARS_eNB *phy_ int16_t n1_pucch0,n1_pucch1,n1_pucch2,n1_pucch3; uint8_t do_SR = 0; uint8_t pucch_sel = 0; - int16_t metric0=0,metric1=0; + int32_t metric0=0,metric1=0; ANFBmode_t bundling_flag; PUCCH_FMT_t format; uint8_t nPRS; -- GitLab