X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_utils.h;h=16166d09419521d2a47f82bf0a56b96353ebc169;hb=aae1fb8fd1e149a7b3a6a6ca799c56aceadc6184;hp=3ee51df53ae5eebd0364b7b9cebce2d40c8cde5c;hpb=154ac5a3676b120c741184f7e58627df8003b5c0;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_utils.h b/src/5gnrmac/mac_utils.h index 3ee51df53..16166d094 100644 --- a/src/5gnrmac/mac_utils.h +++ b/src/5gnrmac/mac_utils.h @@ -26,11 +26,12 @@ #ifdef ODU_MEMORY_DEBUG_LOG #define MAC_MEM_LOG(_macro, _file, _line, _func, _size, _datPtr)\ {\ - printf("\n%s=== %s +%d, %s, %d, %p\n", \ - _macro, _file, _line, _func, _size, _datPtr); \ + printf("\n%s=== %s +%d, %s, %lu, %p", \ + _macro, _file, _line, _func, (uint64_t)_size, _datPtr); \ } #else -#define MAC_MEM_LOG(_macro, _file, _line, _func, _size, _dataPtr) {} +#define MAC_MEM_LOG(_macro, _file, _line, _func, _size, _dataPtr){\ +} #endif /* allocate and zero out a MAC static buffer */ @@ -145,9 +146,9 @@ } /* Function declaration */ -uint16_t getNewCrnti(uint8_t *crntiMap); uint32_t shortBsrBytesTable[MAX_SHORT_BSR_TABLE_ENTRIES]; uint32_t longBsrBytesTable[MAX_LONG_BSR_TABLE_ENTRIES]; + /********************************************************************** End of file **********************************************************************/