Skip to content

Commit

Permalink
Fix type cast
Browse files Browse the repository at this point in the history
Signed-off-by: Nate Koenig <[email protected]>
  • Loading branch information
Nate Koenig committed Nov 1, 2022
1 parent 2904fc4 commit 4112b04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SimulationRunner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ void SimulationRunner::ProcessSystemQueue()

this->systemMgr->ActivatePendingSystems();

auto threadCount = this->systemMgr->SystemsPostUpdate().size() + 1u;
unsigned int threadCount =
static_cast<unsigned int>(this->systemMgr->SystemsPostUpdate().size() + 1u);

gzdbg << "Creating PostUpdate worker threads: "
<< threadCount << std::endl;
Expand Down

0 comments on commit 4112b04

Please sign in to comment.