From b3936b1d222191785e8f7714c01686ca8060df10 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 2 Dec 2021 13:50:51 +0100 Subject: [PATCH] cc_frm: fix log output for size_t type Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1c86311f6fe24dca7b26fb05bf657287df1fd222 Author: Thilo Graf Date: 2021-12-02 (Thu, 02 Dec 2021) --- src/gui/components/cc_frm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index ac6d535a2..f5fee7c66 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -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; }