changeset 1328 | d51126dc39fa |
parent 956 | 141f9c0db4a3 |
child 1371 | 0898f3371d1d |
1.1 --- a/lemon/static_graph.h Thu Apr 02 12:57:18 2015 +0200 1.2 +++ b/lemon/static_graph.h Thu Apr 02 13:36:16 2015 +0200 1.3 @@ -203,7 +203,7 @@ 1.4 built = true; 1.5 1.6 node_num = n; 1.7 - arc_num = std::distance(first, last); 1.8 + arc_num = static_cast<int>(std::distance(first, last)); 1.9 1.10 node_first_out = new int[node_num + 1]; 1.11 node_first_in = new int[node_num];