summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];