Skip to content

Commit

Permalink
iox-eclipse-iceoryx#404 Cast uint32_t
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
  • Loading branch information
mossmaurice authored and marthtz committed May 12, 2021
1 parent 6af3ce0 commit f8f4bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceoryx_posh/source/roudi/process_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ bool ProcessManager::addProcess(const ProcessName_t& name,
// set current timestamp again (already done in Process's constructor
m_processList.back().setTimestamp(mepoo::BaseClock_t::now());

m_processIntrospection->addProcess(pid, ProcessName_t(cxx::TruncateToCapacity, name.c_str()));
m_processIntrospection->addProcess(static_cast<int>(pid), ProcessName_t(cxx::TruncateToCapacity, name.c_str()));

LogDebug() << "Registered new application " << name;
return true;
Expand Down

0 comments on commit f8f4bb4

Please sign in to comment.