1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Fixed new objdetect warnings on Windows.

This commit is contained in:
Alexander Smorkalov
2026-06-15 12:32:11 +03:00
parent 5aad95cb1d
commit cfb3a8bbb7
@@ -80,7 +80,8 @@ bool Dictionary::identify(const Mat &onlyCellPixelRatio, CV_OUT int &idx, CV_OUT
const int s = (markerSize * markerSize + 8 - 1) / 8;
AutoBuffer<uint8_t> temp(4 * s);
uint8_t* not0 = temp.data(), * not1 = not0 + s;
int not0Byte = 0, not1Byte = 0, currentByte = 0, currentBit = 0;
uint8_t not0Byte = 0, not1Byte = 0;
int currentByte = 0, currentBit = 0;
for(int j = 0; j < markerSize; j++) {
const float* cellPixelRatioRow = onlyCellPixelRatio.ptr<float>(j);
for(int i = 0; i < markerSize; i++) {