summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-30 14:12:46 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-04-30 14:12:46 +0200
commit9da3d736adb8c640e813fa14dcf988f8b597bd58 (patch)
tree8046fff394d865dffc17005d6657bddc1d34a260
parent58531a9a0ac38dcdec20ae404b370930cffc6977 (diff)
Fix sign-compare error from #26051
-rw-r--r--modules/webm/video_stream_webm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp
index f6397483e8..6485c95360 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];