You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #70 from toddy15/patch-1
Add missing type cast to timeline unit tests
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user