Skip to content

Commit 1956673

Browse files
committed
ParallelIOTest: Fix -Wsign-compare
1 parent 1b91b63 commit 1956673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ParallelIOTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ adios2_streaming()
867867
}
868868
for( size_t i = 0; i < extent; ++i )
869869
{
870-
REQUIRE( chunk.get()[ i ] == iteration.iterationIndex );
870+
REQUIRE( chunk.get()[ i ] == int(iteration.iterationIndex) );
871871
}
872872
last_iteration_index = iteration.iterationIndex;
873873
}
@@ -1100,7 +1100,7 @@ adios2_ssc()
11001100

11011101
for( size_t i = 0; i < extent; ++i )
11021102
{
1103-
REQUIRE( chunk.get()[ i ] == iteration.iterationIndex );
1103+
REQUIRE( chunk.get()[ i ] == int(iteration.iterationIndex) );
11041104
}
11051105
last_iteration_index = iteration.iterationIndex;
11061106
}

0 commit comments

Comments
 (0)