From 6f03731c1eed80171a74997edb840d02624173be Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 6 Jul 2007 02:38:21 +0000 Subject: [PATCH] msvc fix --- test/test_bandwidth_limiter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_bandwidth_limiter.cpp b/test/test_bandwidth_limiter.cpp index b268f225d..3b8a68418 100644 --- a/test/test_bandwidth_limiter.cpp +++ b/test/test_bandwidth_limiter.cpp @@ -230,7 +230,7 @@ void test_equal_connections(int num, int limit) run_test(ios, v); float sum = 0.f; - float err = std::max(limit / num * 0.3f, 1000.f); + float err = (std::max)(limit / num * 0.3f, 1000.f); for (connections_t::iterator i = v.begin() , end(v.end()); i != end; ++i) {