Skip to content

Commit 2a947bf

Browse files
Fix KeepoutFilter on the ARM architecture (#5436)
Signed-off-by: Sushant Chavan <[email protected]>
1 parent e690ef0 commit 2a947bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nav2_costmap_2d/plugins/costmap_filters/costmap_filter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ unsigned char CostmapFilter::getMaskCost(
222222
{
223223
const unsigned int index = my * filter_mask->info.width + mx;
224224

225-
const char data = filter_mask->data[index];
225+
const signed char data = filter_mask->data[index];
226226
if (data == nav2_util::OCC_GRID_UNKNOWN) {
227227
return NO_INFORMATION;
228228
} else {

0 commit comments

Comments
 (0)