Skip to content

Commit

Permalink
fixed some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinPrivitera committed Jul 19, 2021
1 parent 75b98ce commit 1e703e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libs/blueprint/conduit_blueprint_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3014,7 +3014,7 @@ namespace detail

// check that the field is one of the selected fields specified in the options node
bool found;
for (int i = 0; i < field_names.size(); i ++)
for (uint64 i = 0; i < field_names.size(); i ++)
{
if (field_names[i] == field_name)
{
Expand Down Expand Up @@ -3168,14 +3168,14 @@ mesh::topology::unstructured::generate_sides(const conduit::Node &topo_src,
}

// check that the discovered field names exist in the target fields
for (int i = 0; i < field_names.size(); i ++)
for (uint64 i = 0; i < field_names.size(); i ++)
{
bool found = false;
NodeConstIterator itr = fields_src.children();
std::string cld_name = "";
while (itr.has_next() && !found)
{
const Node &cld = itr.next();
itr.next();
cld_name = itr.name();
if (cld_name == field_names[i])
{
Expand Down

0 comments on commit 1e703e0

Please sign in to comment.