diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-16 19:12:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-16 19:12:06 +0100 |
| commit | b9cc433d7a2d180ea0bc256326c7115a9c8508c3 (patch) | |
| tree | 86ad547611854069dfa4592e7ee3505068015cf9 | |
| parent | 8783bd5fa99220eaf247a07ee612745c815ce2ed (diff) | |
Fix a warning.
| -rw-r--r-- | test/rgb_xyz_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rgb_xyz_test.cc b/test/rgb_xyz_test.cc index 0719d975..ca1378c8 100644 --- a/test/rgb_xyz_test.cc +++ b/test/rgb_xyz_test.cc @@ -185,10 +185,12 @@ BOOST_AUTO_TEST_CASE (rgb_xyz_round_trip_test) scoped_array<uint8_t> back (new uint8_t[size.width * size.height * 6]); dcp::xyz_to_rgb (xyz, dcp::ColourConversion::srgb_to_xyz (), back.get(), size.width * 6); +#if 0 uint16_t* p = reinterpret_cast<uint16_t*> (rgb.get ()); uint16_t* q = reinterpret_cast<uint16_t*> (back.get ()); for (int i = 0; i < (size.width * size.height); ++i) { /* XXX: doesn't quite work */ // BOOST_REQUIRE_EQUAL (*p++, *q++); } +#endif } |
