Skip to content

Commit 08fd037

Browse files
author
Mauro Passerino
committed
Fix size_t log type
1 parent 02ce349 commit 08fd037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp/include/rclcpp/experimental/buffers/ring_buffer_implementation.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class RingBufferImplementation : public BufferImplementationBase<BufferT>
7373
ring_buffer_[write_index_] = std::move(request);
7474

7575
if (is_full_()) {
76-
RCLCPP_ERROR(rclcpp::get_logger("rclcpp"), "Ring buffer is full! Buffer capacity: %d", capacity_);
76+
RCLCPP_ERROR(rclcpp::get_logger("rclcpp"), "Ring buffer is full! Buffer capacity: %lu", capacity_);
7777
read_index_ = next_(read_index_);
7878
} else {
7979
size_++;

0 commit comments

Comments
 (0)