cc_frm: fix log output for size_t type

Origin commit data
------------------
Commit: 1c86311f6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-12-02 (Thu, 02 Dec 2021)
This commit is contained in:
2021-12-02 13:50:51 +01:00
committed by vanhofen
parent c25e8b5d57
commit b3936b1d22

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;
}