MSVS 2015u3 warning

pull/849/head
Alexander Alekhin 8 years ago
parent 0ff319cb6c
commit 7084cc5c9e
  1. 2
      modules/xfeatures2d/src/pct_signatures/grayscale_bitmap.cpp

@ -110,7 +110,7 @@ namespace cv
}
}
// Prepare the preallocated contrast matrix for contrast-entropy computations
mCoOccurrenceMatrix.resize(1 << (mBitsPerPixel * 2)); // mCoOccurrenceMatrix size = maxPixelValue^2
mCoOccurrenceMatrix.resize((int)(1 << (mBitsPerPixel * 2))); // mCoOccurrenceMatrix size = maxPixelValue^2
}

Loading…
Cancel
Save