2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-31 20:22:09 +00:00

fixed VC++ warning

[SVN r7814]
This commit is contained in:
Jeremy Siek
2000-09-25 05:37:27 +00:00
parent 6007a9aff6
commit 41ea142bc9

View File

@@ -39,7 +39,7 @@ public:
: _key(n), _left(n), _right(n), _p(n), _mark(n), _degree(n),
_n(0), _root(n), _id(id), _compare(cmp), _child(n),
#ifdef BOOST_MSVC
new_roots(log(float(n)) + 5) { }
new_roots(int(log(float(n))) + 5) { }
#else
new_roots(std::log(float(n)) + 5) { }
#endif