cc_frm: fix printf warning (this time for real ;)

This commit is contained in:
Stefan Seyfried
2016-01-01 20:49:37 +01:00
parent 361556a1e3
commit 7d268c16b9

View File

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