From 4190bad952c7120d8e0974fea76e4ad9063581d3 Mon Sep 17 00:00:00 2001 From: "Dr. Tobias Quathamer" Date: Sat, 18 Nov 2017 14:10:02 +0100 Subject: [PATCH] Add missing type cast --- tests/Timeline_Tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Timeline_Tests.cpp b/tests/Timeline_Tests.cpp index 70acd179..8c81579c 100644 --- a/tests/Timeline_Tests.cpp +++ b/tests/Timeline_Tests.cpp @@ -119,7 +119,7 @@ TEST(Timeline_Check_Two_Track_Video) int pixel_index = 230 * 4; // pixel 230 (4 bytes per pixel) // Check image properties - CHECK_EQUAL(21, f->GetPixels(pixel_row)[pixel_index]); + CHECK_EQUAL(21, (int)f->GetPixels(pixel_row)[pixel_index]); CHECK_EQUAL(191, (int)f->GetPixels(pixel_row)[pixel_index + 1]); CHECK_EQUAL(0, (int)f->GetPixels(pixel_row)[pixel_index + 2]); CHECK_EQUAL(255, (int)f->GetPixels(pixel_row)[pixel_index + 3]); @@ -439,4 +439,4 @@ TEST(Timeline_Effect_Blur) // Close reader t.Close(); -} \ No newline at end of file +}