Skip to content

Commit 8fbc825

Browse files
committed
change to size_t
1 parent 202cc3c commit 8fbc825

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SU2_CFD/src/output/COutput.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@ void COutput::PreprocessVolumeOutput(CConfig *config){
15731573
}
15741574
nVolumeFields = 0;
15751575

1576-
for (unsigned short iField_Output = 0; iField_Output < volumeOutput_List.size(); iField_Output++) {
1576+
for (size_t iField_Output = 0; iField_Output < volumeOutput_List.size(); iField_Output++) {
15771577

15781578
const string &fieldReference = volumeOutput_List[iField_Output];
15791579
if (volumeOutput_Map.count(fieldReference) > 0){
@@ -1596,15 +1596,15 @@ void COutput::PreprocessVolumeOutput(CConfig *config){
15961596
}
15971597
}
15981598

1599-
for (unsigned short iReqField = 0; iReqField < nRequestedVolumeFields; iReqField++){
1599+
for (size_t iReqField = 0; iReqField < nRequestedVolumeFields; iReqField++){
16001600
if (!FoundField[iReqField]){
16011601
FieldsToRemove.push_back(requestedVolumeFields[iReqField]);
16021602
}
16031603
}
16041604

16051605
/*--- Remove fields which are not defined --- */
16061606

1607-
for (unsigned short iReqField = 0; iReqField < FieldsToRemove.size(); iReqField++){
1607+
for (size_t iReqField = 0; iReqField < FieldsToRemove.size(); iReqField++){
16081608
if (rank == MASTER_NODE) {
16091609
if (iReqField == 0){
16101610
cout << " Info: Ignoring the following volume output fields/groups:" << endl;

0 commit comments

Comments
 (0)