|
Boost-Commit : |
From: stipe_at_[hidden]
Date: 2007-11-07 16:45:55
Author: srajko
Date: 2007-11-07 16:45:54 EST (Wed, 07 Nov 2007)
New Revision: 40911
URL: http://svn.boost.org/trac/boost/changeset/40911
Log:
fix conversion warnings
Text files modified:
sandbox/SOC/2007/signals/libs/dataflow/test/signals/test_bind_object.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/SOC/2007/signals/libs/dataflow/test/signals/test_bind_object.cpp
==============================================================================
--- sandbox/SOC/2007/signals/libs/dataflow/test/signals/test_bind_object.cpp (original)
+++ sandbox/SOC/2007/signals/libs/dataflow/test/signals/test_bind_object.cpp 2007-11-07 16:45:54 EST (Wed, 07 Nov 2007)
@@ -14,7 +14,7 @@
int add(int x, float y)
{
- return x + y + z;
+ return int(x + y + z);
}
int z;
@@ -28,7 +28,7 @@
f = boost::signals::detail::bind_object<int(int, float), adder>()(&adder::add, a);
- BOOST_CHECK_EQUAL(f(4, 2.1), 16);
+ BOOST_CHECK_EQUAL(f(4, 2.1f), 16);
return 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