X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_utils.h;h=16166d09419521d2a47f82bf0a56b96353ebc169;hb=de6a435729e3cad9d4a66329080b8206a64f452c;hp=f982b6abda315d830a2c16f38601fe01d861b95b;hpb=9f07d42c8d327e4009833fc4c673e4086c4e726e;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_utils.h b/src/5gnrmac/mac_utils.h index f982b6abd..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 */