From 9da3d736adb8c640e813fa14dcf988f8b597bd58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 30 Apr 2019 14:12:46 +0200 Subject: [PATCH] Fix sign-compare error from #26051 --- modules/webm/video_stream_webm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp index f6397483e88..6485c95360f 100644 --- a/modules/webm/video_stream_webm.cpp +++ b/modules/webm/video_stream_webm.cpp @@ -321,8 +321,8 @@ void VideoStreamPlaybackWebm::update(float p_delta) { unsigned char *rRow = image.planes[2]; unsigned char *gRow = image.planes[0]; unsigned char *bRow = image.planes[1]; - for (size_t i = 0; i < image.h; i++) { - for (size_t j = 0; j < image.w; j++) { + for (int i = 0; i < image.h; i++) { + for (int j = 0; j < image.w; j++) { *wp++ = rRow[j]; *wp++ = gRow[j]; *wp++ = bRow[j];