diff --git a/plugins/input/shape/shape_index_featureset.cpp b/plugins/input/shape/shape_index_featureset.cpp index f5084c660..f1fff2ca1 100644 --- a/plugins/input/shape/shape_index_featureset.cpp +++ b/plugins/input/shape/shape_index_featureset.cpp @@ -43,7 +43,7 @@ // operator>> needed by mapnik::spatial_index template -InputStream & operator>>(InputStream & in, std::streampos pos) +InputStream & operator>>(InputStream & in, std::streampos & pos) { in.read(reinterpret_cast(&pos), sizeof(std::streampos)); return in;