Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the mismatch in types so compilers with stricter rules don't c… #118

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading