diff --git a/DataStructures/DynamicGraph.h b/DataStructures/DynamicGraph.h index 81be10b10..09ae15b29 100644 --- a/DataStructures/DynamicGraph.h +++ b/DataStructures/DynamicGraph.h @@ -100,7 +100,7 @@ template class DynamicGraph position += node_list[node].edges; } node_list.back().firstEdge = position; - edge_list.reserve(edge_list.size() * 1.1); + edge_list.reserve((std::size_t)edge_list.size() * 1.1); edge_list.resize(position); edge = 0; for (const auto node : boost::irange(0u, number_of_nodes))