diff options
Diffstat (limited to 'libadhocutil/unittests/testLazyPointer.cpp')
-rw-r--r-- | libadhocutil/unittests/testLazyPointer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libadhocutil/unittests/testLazyPointer.cpp b/libadhocutil/unittests/testLazyPointer.cpp index f2440bd..c3bbbfe 100644 --- a/libadhocutil/unittests/testLazyPointer.cpp +++ b/libadhocutil/unittests/testLazyPointer.cpp @@ -108,7 +108,7 @@ BOOST_AUTO_TEST_CASE(rawPointerNonNull) int * rawFactory(const std::string & s) { - return new int(s.length()); + return new int(static_cast<int>(s.length())); } BOOST_AUTO_TEST_CASE(rawPointerFactory) |