Skip to content

Commit

Permalink
IOSS: Use c++-style cast
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Mar 7, 2024
1 parent 53c4314 commit 15070dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/seacas/libraries/ioss/src/Ioss_Map.C
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ void Ioss::Map::set_default(size_t count, size_t offset)
IOSS_FUNC_ENTER(m_);
m_map.resize(count + 1);
std::iota(m_map.begin() + 1, m_map.end(), 1 + offset);
m_offset = -1 * int64_t(offset);
m_offset = -1 * static_cast<int64_t>(offset);
set_is_sequential(true);
}

Expand Down

0 comments on commit 15070dc

Please sign in to comment.