Skip to content

Commit

Permalink
Fixed minor signedness
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkww committed Apr 9, 2015
1 parent 4515adb commit 341b27b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions OutputInstancerObject.C
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ OutputInstancerObject::compute(
h.set(name);

// clean up extra elements
for(int i= builder.elementCount(); i-- > 1;)
for(unsigned int i= builder.elementCount(); i-- > 1;)
{
builder.removeElement(i);
}
Expand All @@ -295,7 +295,8 @@ OutputInstancerObject::compute(
}

// clean up extra elements
for(int i= builder.elementCount(); i-- > myUniqueInstObjNames.length();)
for(unsigned int i= builder.elementCount();
i-- > myUniqueInstObjNames.length();)
{
builder.removeElement(i);
}
Expand Down

0 comments on commit 341b27b

Please sign in to comment.