some formal changes (generally adding constness)
[profile/ivi/opencv.git] / modules / imgproc / test / test_filter.cpp
index a0927b0..6b8cb8c 100644 (file)
@@ -228,7 +228,7 @@ int CV_MorphologyBaseTest::prepare_test_case( int test_case_idx )
     if( shape == CV_SHAPE_CUSTOM )
     {
         eldata.resize(aperture_size.width*aperture_size.height);
-        uchar* src = test_mat[INPUT][1].data;
+        const uchar* src = test_mat[INPUT][1].data;
         int srcstep = (int)test_mat[INPUT][1].step;
         int i, j, nonzero = 0;