From: David T. <dt...@re...> - 2014-05-23 19:30:03
|
Hi, On Fri, May 23, 2014 at 08:37:30PM +0200, Andreas Radke wrote: > while building our packages the test suite fails for 32bit (64bit > builds well): > > RVNGBinaryDataTest.cpp:104:2: error: no matching function for call to 'assertEquals(const size_t&, long unsigned int, CppUnit::SourceLine, const char [1])' > CPPUNIT_ASSERT_EQUAL(len, data.size()); > ^ Sigh. CPPUNIT_ASSERT_EQUAL is more pain than it is worth... Just replace that line by either CPPUNIT_ASSERT_EQUAL(static_cast<unsigned long>(len), data.size()); or CPPUNIT_ASSERT(len == data.size()); D. |