Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52156 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2009-04-03 10:54:12


Author: jewillco
Date: 2009-04-03 10:54:10 EDT (Fri, 03 Apr 2009)
New Revision: 52156
URL: http://svn.boost.org/trac/boost/changeset/52156

Log:
Fixed float->int warnings
Text files modified:
   trunk/libs/graph/test/layout_test.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/graph/test/layout_test.cpp
==============================================================================
--- trunk/libs/graph/test/layout_test.cpp (original)
+++ trunk/libs/graph/test/layout_test.cpp 2009-04-03 10:54:10 EDT (Fri, 03 Apr 2009)
@@ -36,8 +36,8 @@
     max_point = topology.pointwise_max(max_point, position[v]);
   }
 
- for (int y = min_point[1]; y <= max_point[1]; ++y) {
- for (int x = min_point[0]; x <= max_point[0]; ++x) {
+ for (int y = (int)min_point[1]; y <= (int)max_point[1]; ++y) {
+ for (int x = (int)min_point[0]; x <= (int)max_point[0]; ++x) {
       typename graph_traits<Graph>::vertex_iterator vi, vi_end;
       // Find vertex at this position
       typename graph_traits<Graph>::vertices_size_type index = 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