mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Fixed warnings produced by x86 builds on Windows.
This commit is contained in:
@@ -764,7 +764,7 @@ bool GifEncoder::lzwEncode() {
|
||||
//initialize
|
||||
int32_t prev = imgCodeStream[0];
|
||||
|
||||
for (int64_t i = 1; i < height * width; i++) {
|
||||
for (size_t i = 1; i < size_t(height * width); i++) {
|
||||
// add the output code to the output buffer
|
||||
while (bitLeft >= 8) {
|
||||
buffer[bufferLen++] = (uchar)output;
|
||||
|
||||
Reference in New Issue
Block a user