Skip to content

Commit

Permalink
Merge pull request #2405 from pumaking/bugfix/gcc-8-const-cast-warning
Browse files Browse the repository at this point in the history
`octree_key.h` suppress GCC 8 ignored-qualifier warning
  • Loading branch information
SergioRAgostinho authored Aug 30, 2018
2 parents 5b89b76 + 5a99e15 commit b988db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octree/include/pcl/octree/octree_key.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ namespace pcl
}

/* \brief maximum depth that can be addressed */
static const unsigned char maxDepth = static_cast<const unsigned char>(sizeof(uint32_t)*8);
static const unsigned char maxDepth = static_cast<unsigned char>(sizeof(uint32_t)*8);

// Indices addressing a voxel at (X, Y, Z)

Expand Down

0 comments on commit b988db3

Please sign in to comment.