diff --git a/toolbox/test/indexed_image_test.cpp b/toolbox/test/indexed_image_test.cpp index 69c750078..892a549ab 100644 --- a/toolbox/test/indexed_image_test.cpp +++ b/toolbox/test/indexed_image_test.cpp @@ -152,13 +152,12 @@ BOOST_AUTO_TEST_CASE( index_image_test ) BOOST_AUTO_TEST_CASE(index_image_view_test) { // generate some data - int width = 640; - int height = 480; - int num_colors = 3; - int Index = 2; + std::size_t const width = 640; + std::size_t const height = 480; + std::size_t const num_colors = 3; // indices - vector indices(width * height, Index); + vector indices(width * height, 2); // colors vector palette(num_colors);