Skip to content

Commit

Permalink
iox-eclipse-iceoryx#2301 Use fixed width type for received data in ru…
Browse files Browse the repository at this point in the history
…ntime interface
  • Loading branch information
elBoberido committed Aug 22, 2024
1 parent d5d2e49 commit 2f62b87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iceoryx_posh/source/runtime/ipc_runtime_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,13 @@ IpcRuntimeInterface::waitForRegAck(int64_t transmissionTimestamp,
auto topic_size_result =
iox::convert::from_string<uint64_t>(receiveBuffer.getElementAtIndex(1U).c_str());
auto segment_manager_offset_result =
iox::convert::from_string<uintptr_t>(receiveBuffer.getElementAtIndex(2U).c_str());
iox::convert::from_string<uint64_t>(receiveBuffer.getElementAtIndex(2U).c_str());
auto recv_timestamp_result =
iox::convert::from_string<int64_t>(receiveBuffer.getElementAtIndex(3U).c_str());
auto segment_id_result =
iox::convert::from_string<uint64_t>(receiveBuffer.getElementAtIndex(4U).c_str());
auto heartbeat_offset_result =
iox::convert::from_string<uintptr_t>(receiveBuffer.getElementAtIndex(5U).c_str());
iox::convert::from_string<uint64_t>(receiveBuffer.getElementAtIndex(5U).c_str());

// validate conversion results
if (!topic_size_result.has_value() || !segment_manager_offset_result.has_value()
Expand Down

0 comments on commit 2f62b87

Please sign in to comment.