History

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

Martin Storsjö committed 12 years ago

Commit 24536761 parent 7a2e5361 file · +1 −1Browse files

Showing the changes to test/encoder/EncUT_EncoderExt.cpp (1 of 1 file). Show all

Unified · Split

test/encoder/EncUT_EncoderExt.cpp+1−1
@@ -745,7 +745,7 @@ TEST_F (EncoderInterfaceTest, GetStatistics) { · 744 unmodified lines
745 EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));745 EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
746 iResult = pPtrEnc->GetOption (ENCODER_OPTION_GET_STATISTICS, &sEncoderStatistics);746 iResult = pPtrEnc->GetOption (ENCODER_OPTION_GET_STATISTICS, &sEncoderStatistics);
747 EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));747 EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
748 EXPECT_EQ (static_cast<int> (sEncoderStatistics.fAverageFrameRate), sEncoderStatistics.uiInputFrameCount);748 EXPECT_EQ (static_cast<unsigned int> (sEncoderStatistics.fAverageFrameRate), sEncoderStatistics.uiInputFrameCount);
749 749
750 // 4, change log interval750 // 4, change log interval
751 int32_t iInterval = 0;751 int32_t iInterval = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t