diff --git a/tests/libYARP_dev/ControlBoardRemapperTest.cpp b/tests/libYARP_dev/ControlBoardRemapperTest.cpp index 2d51abb897..71f615eec3 100644 --- a/tests/libYARP_dev/ControlBoardRemapperTest.cpp +++ b/tests/libYARP_dev/ControlBoardRemapperTest.cpp @@ -71,7 +71,7 @@ class ControlBoardRemapperTest : public UnitTest void checkRemapper(yarp::dev::PolyDriver & ddRemapper, int rand, size_t nrOfRemappedAxes) { - IPositionControl2 *pos = nullptr; + IPositionControl *pos = nullptr; bool ok = ddRemapper.view(pos); checkTrue(ok, "interface position correctly opened"); int axes = 0; @@ -87,7 +87,7 @@ class ControlBoardRemapperTest : public UnitTest ok = ddRemapper.view(encs); checkTrue(ok, "encoders interface correctly opened"); - IControlMode2 *ctrlmode = nullptr; + IControlMode *ctrlmode = nullptr; ok = ddRemapper.view(ctrlmode); checkTrue(ok, "control mode interface correctly opened");