Fix another type warning
This commit is contained in:
parent
d807ab3089
commit
161775fdbc
|
@ -520,7 +520,7 @@ BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS( JSON_SETTINGS* aParent, const std:
|
|||
{
|
||||
nlohmann::json js = nlohmann::json::array();
|
||||
|
||||
for( int ii = 0; ii < m_TeardropParamsList.GetParametersCount(); ii++ )
|
||||
for( size_t ii = 0; ii < m_TeardropParamsList.GetParametersCount(); ii++ )
|
||||
{
|
||||
nlohmann::json entry = {};
|
||||
TEARDROP_PARAMETERS* td_prm = m_TeardropParamsList.GetParameters( (TARGET_TD)ii );
|
||||
|
|
|
@ -163,7 +163,7 @@ public:
|
|||
/**
|
||||
* @return the number of TEARDROP_PARAMETERS item. Should be 3
|
||||
*/
|
||||
int GetParametersCount()
|
||||
size_t GetParametersCount()
|
||||
{
|
||||
return m_params_list.size();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue