diff --git a/src/gui/components/cc_base.cpp b/src/gui/components/cc_base.cpp index 6bd87d1c1..f2bb38dba 100644 --- a/src/gui/components/cc_base.cpp +++ b/src/gui/components/cc_base.cpp @@ -120,7 +120,7 @@ void CComponents::paintFbItems(bool do_save_bg) int fbtype = v_fbdata[i].fbdata_type; #ifdef DEBUG_CC - printf(" [CComponents]\n [%s - %d], fbdata_[%d] \n x = %d\n y = %d\n dx = %d\n dy = %d\n", __func__, __LINE__, i, v_fbdata[i].x, v_fbdata[i].y, v_fbdata[i].dx, v_fbdata[i].dy); + printf(" [CComponents]\n [%s - %d], fbdata_[%d] \n x = %d\n y = %d\n dx = %d\n dy = %d\n", __func__, __LINE__, (int)i, v_fbdata[i].x, v_fbdata[i].y, v_fbdata[i].dx, v_fbdata[i].dy); #endif //some elements can be assembled from lines and must be handled as one unit (see details line), //so all individual backgrounds of boxes must be saved and painted in "firstpaint mode" diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index 6e68ddc07..ce7418d78 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -85,13 +85,13 @@ void CComponentsForm::clearCCItems() if (v_cc_items.empty()) return; #ifdef DEBUG_CC - printf(" [CComponentsForm] %s... delete %d cc-item(s) \n", __func__, v_cc_items.size()); + printf(" [CComponentsForm] %s... delete %d cc-item(s) \n", __func__, (int)v_cc_items.size()); #endif for(size_t i=0; igetItemType()); + printf(" [CComponentsForm] %s... delete form cc-item %d of %d (type=%d)\n", __func__, (int)i+1, (int)v_cc_items.size(), v_cc_items[i]->getItemType()); #endif delete v_cc_items[i]; v_cc_items[i] = NULL; diff --git a/src/gui/components/cc_frm_header.cpp b/src/gui/components/cc_frm_header.cpp index ccefe59ac..0270fe618 100644 --- a/src/gui/components/cc_frm_header.cpp +++ b/src/gui/components/cc_frm_header.cpp @@ -235,7 +235,7 @@ void CComponentsHeader::initDefaultButtons() if (cch_buttons & CC_BTN_MENU) v_cch_btn.push_back(NEUTRINO_ICON_BUTTON_MENU); #ifdef DEBUG_CC - printf("[CComponentsHeader] %s added %d default buttons...\n", __func__, v_cch_btn.size()); + printf("[CComponentsHeader] %s added %d default buttons...\n", __func__, (int)v_cch_btn.size()); #endif }