build: fix warnings

pull/22182/head
Alexander Alekhin 2 years ago
parent 56e19e3494
commit 0f3de805f4
  1. 2
      samples/cpp/imgcodecs_jpeg.cpp

@ -17,7 +17,7 @@ int main(int /*argc*/, const char** /* argv */ )
{
const Point center( img.rows / 2 , img.cols /2 );
for( int radius = 5; radius < img.rows ; radius += 3.5 )
for( int radius = 5; radius < img.rows ; radius += 3 )
{
cv::circle( img, center, radius, Scalar(255,0,255) );
}

Loading…
Cancel
Save