@@ -729,7 +729,7 @@ void SolverTest::IkVelSolverPinvTest()
729729 q (5 ) = 0.0 ;
730730 q (6 ) = 0.0 ;
731731
732- CPPUNIT_ASSERT_EQUAL (SolverI::E_NOERROR, ikvelsolver.CartToJnt (q, dx, dq)); // pinv mode
732+ CPPUNIT_ASSERT_EQUAL (( int ) SolverI::E_NOERROR, ikvelsolver.CartToJnt (q, dx, dq)); // pinv mode
733733 CPPUNIT_ASSERT_EQUAL (1u , ikvelsolver.getNrZeroSigmas ()); // 1 singular value
734734
735735 std::cout << " Test singular value function" << std::endl;
@@ -753,19 +753,19 @@ void SolverTest::IkVelSolverPinvTest()
753753
754754 q (1 ) = 0.2 ;
755755
756- CPPUNIT_ASSERT_EQUAL (ChainIkSolverVel_pinv::E_CONVERGE_PINV_SINGULAR, ikvelsolver.CartToJnt (q, dx, dq)); // pinv mode
756+ CPPUNIT_ASSERT_EQUAL (( int ) ChainIkSolverVel_pinv::E_CONVERGE_PINV_SINGULAR, ikvelsolver.CartToJnt (q, dx, dq)); // pinv mode
757757 CPPUNIT_ASSERT_EQUAL (2u , ikvelsolver.getNrZeroSigmas ()) ; // 2 singular values
758758
759759 q (1 ) = 0.0 ;
760760
761- CPPUNIT_ASSERT_EQUAL (ChainIkSolverVel_pinv::E_CONVERGE_PINV_SINGULAR, ikvelsolver.CartToJnt (q, dx, dq)); // pinv mode
761+ CPPUNIT_ASSERT_EQUAL (( int ) ChainIkSolverVel_pinv::E_CONVERGE_PINV_SINGULAR, ikvelsolver.CartToJnt (q, dx, dq)); // pinv mode
762762 CPPUNIT_ASSERT_EQUAL (2u , ikvelsolver.getNrZeroSigmas ()); // 2 singular values
763763
764764 // Fully singular
765765 q (2 ) = 0.0 ;
766766 q (3 ) = 0.0 ;
767767
768- CPPUNIT_ASSERT_EQUAL (ChainIkSolverVel_pinv::E_CONVERGE_PINV_SINGULAR, ikvelsolver.CartToJnt (q, dx, dq)); // pinv mode
768+ CPPUNIT_ASSERT_EQUAL (( int ) ChainIkSolverVel_pinv::E_CONVERGE_PINV_SINGULAR, ikvelsolver.CartToJnt (q, dx, dq)); // pinv mode
769769 CPPUNIT_ASSERT_EQUAL (4u , ikvelsolver.getNrZeroSigmas ());
770770}
771771
0 commit comments