From fb978458e924f5be26ceee81d9869bb509e70808 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Mon, 8 Jun 2015 21:26:41 +0200 Subject: [PATCH] [buffer] Replace int with signed_size_type. --- .../algorithms/detail/buffer/buffered_piece_collection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp b/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp index 5e7da79ec..46a7c0f7a 100644 --- a/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp +++ b/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp @@ -844,7 +844,7 @@ struct buffered_piece_collection return; } - if (m_first_piece_index < static_cast(boost::size(m_pieces))) + if (m_first_piece_index < static_cast(boost::size(m_pieces))) { // If piece was added // Reassign left-of-first and right-of-last