Skip to content

Commit

Permalink
Use static_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanomil committed Aug 11, 2020
1 parent 76bc952 commit 6146339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/fuzz/transformation_flatten_conditional_branch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ void TransformationFlattenConditionalBranch::Apply(
}

// Get the ones still needed from the overflow ids.
for (int still_needed = ids_needed - (int)fresh_ids.size();
for (int still_needed = ids_needed - static_cast<int>(fresh_ids.size());
still_needed > 0; still_needed--) {
fresh_ids.push_back(message_.overflow_id(overflow_ids_used++));
}
Expand Down

0 comments on commit 6146339

Please sign in to comment.