radio: fix printf for 32bit

This commit is contained in:
Andre Puschmann 2020-08-17 11:12:06 +02:00
parent 7cd4f45d62
commit d5da4bd8b6
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ int radio::init(const rf_args_t& args, phy_interface_radio* phy_)
// Makes sure it is possible to have the same number of RF channels in each RF device
if (nof_channels % device_args_list.size() != 0) {
log_h->console(
"Error: The number of required RF channels (%d) is not divisible between the number of RF devices (%ld).\n",
"Error: The number of required RF channels (%d) is not divisible between the number of RF devices (%zd).\n",
nof_channels,
device_args_list.size());
return SRSLTE_ERROR;