fixed unsigned signed comparison

master
Francisco Paisana 5 years ago committed by Xavier Arteaga
parent 1e63fa41cf
commit 639f473042

@ -82,7 +82,7 @@ typedef struct SRSLTE_API {
uint16_t rnti;
srslte_dci_format_t format;
srslte_dci_location_t location;
int ue_cc_idx;
uint32_t ue_cc_idx;
// Resource Allocation
srslte_ra_type_t alloc_type;
@ -133,7 +133,7 @@ typedef struct SRSLTE_API {
uint16_t rnti;
srslte_dci_format_t format;
srslte_dci_location_t location;
int ue_cc_idx;
uint32_t ue_cc_idx;
srslte_ra_type2_t type2_alloc;
/* 36.213 Table 8.4-2: SRSLTE_RA_PUSCH_HOP_HALF is 0 for < 10 Mhz and 10 for > 10 Mhz.

@ -1000,7 +1000,7 @@ int sf_sched::generate_format1a(uint32_t rb_start,
dci->tb[0].rv = rv;
dci->format = SRSLTE_DCI_FORMAT1A;
dci->rnti = rnti;
dci->ue_cc_idx = -1;
dci->ue_cc_idx = std::numeric_limits<uint32_t>::max();
return tbs;
}

Loading…
Cancel
Save