Cast to the right data type to avoid comparison warnings in gcc
This commit is contained in:
parent
7a2e536e44
commit
2453676960
@ -745,7 +745,7 @@ TEST_F (EncoderInterfaceTest, GetStatistics) {
|
|||||||
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
|
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
|
||||||
iResult = pPtrEnc->GetOption (ENCODER_OPTION_GET_STATISTICS, &sEncoderStatistics);
|
iResult = pPtrEnc->GetOption (ENCODER_OPTION_GET_STATISTICS, &sEncoderStatistics);
|
||||||
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
|
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
|
// 4, change log interval
|
||||||
int32_t iInterval = 0;
|
int32_t iInterval = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user