Skip to content

Commit

Permalink
Update ros2_foxglove_bridge.cpp
Browse files Browse the repository at this point in the history
foxglove#330 Fixes for Yocto issue
  • Loading branch information
grahas authored Dec 11, 2024
1 parent 45bd1dd commit 374d643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2_foxglove_bridge/src/ros2_foxglove_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ void FoxgloveBridge::subscribe(foxglove::ChannelId channelId, ConnectionHandle c
// broadcasters). See also
// https://github.com/foxglove/ros-foxglove-bridge/issues/238 and
// https://github.com/foxglove/ros-foxglove-bridge/issues/208
const size_t publisherHistoryDepth = std::max(1ul, qos.depth());
const size_t publisherHistoryDepth = std::max(static_cast<size_t>(1), qos.depth());
depth = depth + publisherHistoryDepth;
}

Expand Down

0 comments on commit 374d643

Please sign in to comment.