Fix sign-compare error from #26051

This commit is contained in:
Rémi Verschelde 2019-04-30 14:12:46 +02:00
parent 58531a9a0a
commit 9da3d736ad

View file

@ -321,8 +321,8 @@ void VideoStreamPlaybackWebm::update(float p_delta) {
unsigned char *rRow = image.planes[2]; unsigned char *rRow = image.planes[2];
unsigned char *gRow = image.planes[0]; unsigned char *gRow = image.planes[0];
unsigned char *bRow = image.planes[1]; unsigned char *bRow = image.planes[1];
for (size_t i = 0; i < image.h; i++) { for (int i = 0; i < image.h; i++) {
for (size_t j = 0; j < image.w; j++) { for (int j = 0; j < image.w; j++) {
*wp++ = rRow[j]; *wp++ = rRow[j];
*wp++ = gRow[j]; *wp++ = gRow[j];
*wp++ = bRow[j]; *wp++ = bRow[j];