summaryrefslogtreecommitdiff
path: root/libs/graph_parallel/test/adjlist_build_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/graph_parallel/test/adjlist_build_test.cpp')
-rw-r--r--libs/graph_parallel/test/adjlist_build_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/graph_parallel/test/adjlist_build_test.cpp b/libs/graph_parallel/test/adjlist_build_test.cpp
index c091941935..87335a50ac 100644
--- a/libs/graph_parallel/test/adjlist_build_test.cpp
+++ b/libs/graph_parallel/test/adjlist_build_test.cpp
@@ -89,7 +89,7 @@ int test_main(int argc, char** argv)
Graph::lazy_add_edge lazy
= add_edge(vertex(first->first, g2), vertex(first->second, g2), g2);
- if (require_response_gen() % 100 < immediate_response_percent) {
+ if ((int)require_response_gen() % 100 < immediate_response_percent) {
// Send out-of-band to require a response
std::pair<graph_traits<Graph>::edge_descriptor, bool> result(lazy);
BOOST_CHECK(source(result.first, g2) == vertex(first->first, g2));
@@ -179,7 +179,7 @@ int test_main(int argc, char** argv)
Graph::lazy_add_edge lazy
= add_edge(vertex(first->first, g3), vertex(first->second, g3), g3);
- if (require_response_gen() % 100 < immediate_response_percent) {
+ if ((int)require_response_gen() % 100 < immediate_response_percent) {
// Send out-of-band to require a response
std::pair<graph_traits<Graph>::edge_descriptor, bool> result(lazy);
BOOST_CHECK(source(result.first, g3) == vertex(first->first, g3));