diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index 75de2f0212..d8fd72069a 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -409,10 +409,10 @@ void wxAnyTestCase::GetAs() res = m_anyDoubleDouble1.GetAs(&l); CPPUNIT_ASSERT(res); CPPUNIT_ASSERT(l == static_cast(123)); -#ifndef wxDONT_TEST res = m_anyDoubleDouble1.GetAs(&ul); CPPUNIT_ASSERT(res); CPPUNIT_ASSERT_EQUAL(ul, static_cast(123)); +#ifndef wxDONT_TEST res = m_anyDoubleDouble1.GetAs(&s); CPPUNIT_ASSERT(res); double d2;