Skip to content

Commit

Permalink
Fixing the mismatch in types so compilers with stricter rules don't c…
Browse files Browse the repository at this point in the history
…omplain. (#118)
  • Loading branch information
jaccz authored Nov 6, 2023
1 parent d8036dc commit b062e26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/gcdmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,12 +382,12 @@ void CResult::PrintOutputJson( CModelData& modelData, wostream& wout )
wout << encodingPrefix;

wout << "[" << endl;
unsigned int testCasesSize = TestCases.size();
for( unsigned int i = 0; i < testCasesSize; i++ )
size_t testCasesSize = TestCases.size();
for( size_t i = 0; i < testCasesSize; i++ )
{
wout << " [" << endl;
unsigned int valuesSize = TestCases[i].Values.size();
for( unsigned j = 0; j < valuesSize; j++ )
size_t valuesSize = TestCases[i].Values.size();
for( size_t j = 0; j < valuesSize; j++ )
{
wout << " {" << endl;
wout << " " << " \"key\": \"" << modelData.Parameters[j].Name << "\"," << endl;
Expand Down

0 comments on commit b062e26

Please sign in to comment.