diff -r cd72eae05bdf -r 3c00344f49c9 lemon/static_graph.h --- a/lemon/static_graph.h Mon Jul 16 16:21:40 2018 +0200 +++ b/lemon/static_graph.h Wed Oct 17 19:14:07 2018 +0200 @@ -203,7 +203,7 @@ built = true; node_num = n; - arc_num = std::distance(first, last); + arc_num = static_cast(std::distance(first, last)); node_first_out = new int[node_num + 1]; node_first_in = new int[node_num];