Cast to the right data type to avoid comparison warnings in gcc

This commit is contained in:
Martin Storsjö 2014-11-13 10:48:45 +02:00
parent 7a2e536e44
commit 2453676960

View File

@ -745,7 +745,7 @@ TEST_F (EncoderInterfaceTest, GetStatistics) {
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
iResult = pPtrEnc->GetOption (ENCODER_OPTION_GET_STATISTICS, &sEncoderStatistics);
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
EXPECT_EQ (static_cast<int> (sEncoderStatistics.fAverageFrameRate), sEncoderStatistics.uiInputFrameCount);
EXPECT_EQ (static_cast<unsigned int> (sEncoderStatistics.fAverageFrameRate), sEncoderStatistics.uiInputFrameCount);
// 4, change log interval
int32_t iInterval = 0;