Automatic PRB allocation for PUSCH and PRACH [Issue-ID: ODUHIGH-385]
[o-du/l2.git] / src / 5gnrsch / sch_utils.c
index ac952c7..fefeff8 100644 (file)
@@ -925,7 +925,7 @@ CmLList* isPrbAvailable(CmLListCp *freePrbBlockList, uint16_t startPrb, uint16_t
  **/
 void removeAllocatedPrbFromFreePrbList(CmLListCp *freePrbBlockList, CmLList *node, uint16_t startPrb, uint16_t numPrb)
 {
-   uint8_t       endPrb;
+   uint16_t      endPrb;
    FreePrbBlock  *newBlock = NULLP;
    FreePrbBlock  *freeBlock = (FreePrbBlock *)node->node;