|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54378 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2009-06-26 12:08:17
Author: jewillco
Date: 2009-06-26 12:08:15 EDT (Fri, 26 Jun 2009)
New Revision: 54378
URL: http://svn.boost.org/trac/boost/changeset/54378
Log:
Fixed VC++ issue; refs #3134
Text files modified:
trunk/libs/graph/test/mcgregor_subgraphs_test.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/graph/test/mcgregor_subgraphs_test.cpp
==============================================================================
--- trunk/libs/graph/test/mcgregor_subgraphs_test.cpp (original)
+++ trunk/libs/graph/test/mcgregor_subgraphs_test.cpp 2009-06-26 12:08:15 EDT (Fri, 26 Jun 2009)
@@ -250,7 +250,7 @@
v_iter != new_vertices.end(); ++v_iter) {
Vertex source_vertex = *v_iter;
- int edges_for_vertex = (std::min)((generator() % max_edges_per_vertex) + 1,
+ int edges_for_vertex = (std::min)((int)(generator() % max_edges_per_vertex) + 1,
(int)num_vertices(graph));
while (edges_for_vertex > 0) {
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk