- BOOST_CHECK_EQUAL (a.mapping().get (0, dcp::LEFT), 1);
- BOOST_CHECK_EQUAL (a.mapping().get (0, dcp::RIGHT), 0);
- BOOST_CHECK_EQUAL (a.mapping().get (0, dcp::CENTRE), 1);
- BOOST_CHECK_EQUAL (a.mapping().get (1, dcp::LEFT), 0);
- BOOST_CHECK_EQUAL (a.mapping().get (1, dcp::RIGHT), 1);
- BOOST_CHECK_EQUAL (a.mapping().get (1, dcp::CENTRE), 1);
+ BOOST_CHECK_EQUAL (a.mapping().get (0, static_cast<int> (dcp::LEFT)), 1);
+ BOOST_CHECK_EQUAL (a.mapping().get (0, static_cast<int> (dcp::RIGHT)), 0);
+ BOOST_CHECK_EQUAL (a.mapping().get (0, static_cast<int> (dcp::CENTRE)), 1);
+ BOOST_CHECK_EQUAL (a.mapping().get (1, static_cast<int> (dcp::LEFT)), 0);
+ BOOST_CHECK_EQUAL (a.mapping().get (1, static_cast<int> (dcp::RIGHT)), 1);
+ BOOST_CHECK_EQUAL (a.mapping().get (1, static_cast<int> (dcp::CENTRE)), 1);