Skip to content

Commit 9ca83d1

Browse files
authored
Merge pull request #242 from ros-perception/backport/227-to-rolling
Fix compile warning in speckle filter (Backport #227 to rolling)
2 parents 178e8a9 + d1ad381 commit 9ca83d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/laser_filters/speckle_filter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class LaserScanSpeckleFilter : public filters::FilterBase<sensor_msgs::msg::Lase
224224
/*Check if range size is big enough to use the filter window */
225225
if (output_scan.ranges.size() <= filter_window + 1)
226226
{
227-
RCLCPP_ERROR(logging_interface_->get_logger(), "Scan ranges size is too small for set window: size = %li, window = %i", output_scan.ranges.size(), filter_window);
227+
RCLCPP_ERROR(logging_interface_->get_logger(), "Scan ranges size is too small for set window: size = %zu, window = %i", output_scan.ranges.size(), filter_window);
228228
return false;
229229
}
230230

0 commit comments

Comments
 (0)