cc_frm: fix log output for size_t type

This commit is contained in:
2021-12-02 13:50:51 +01:00
parent 3858433c30
commit 84ba7532c4

View File

@@ -266,7 +266,7 @@ CComponentsItem* CComponentsForm::getCCItem(const uint& cc_item_id) const
return NULL;
if (cc_item_id >= size()){
dprintf(DEBUG_NORMAL, "[CComponentsForm] [%s - %d] Error: inside container type = [%d] [%s] parameter cc_item_id = %u, out of range (size = %zx)...\n", __func__, __LINE__, cc_item_type.id, cc_item_type.name.c_str(), cc_item_id, size());
dprintf(DEBUG_NORMAL, "[CComponentsForm] [%s - %d] Error: inside container type = [%d] [%s] parameter cc_item_id = %u, out of range (size = %d)...\n", __func__, __LINE__, cc_item_type.id, cc_item_type.name.c_str(), cc_item_id, (int)size());
return NULL;
}