BLADERUNNER: Fix signed/unsigned mismatch

This commit is contained in:
elasota 2023-07-05 22:26:15 -04:00 committed by Eugene Sandulenko
parent b6b0b35045
commit f10e9c6082

View File

@ -1206,7 +1206,7 @@ bool VQADecoder::VQAVideoTrack::decodeFrame(Graphics::Surface *surface) {
uint32 dst_y = 0;
void *dstPtr = nullptr;
assert(_vpointerSize == 2 * (blocks_per_column * blocks_per_line));
assert(_vpointerSize == 2u * (blocks_per_column * blocks_per_line));
// Create a pointer to the second half of the frame data:
const uint8 *srcB = src + (blocks_per_column * blocks_per_line);