1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix some warnings for compiler

This commit is contained in:
winlin 2020-01-05 22:30:57 +08:00
parent 10464a5fbe
commit 69e2d94e50
6 changed files with 10 additions and 10 deletions

View file

@ -131,7 +131,7 @@ VOID TEST(SrsAVCTest, H264SequenceHeader)
if (true) {
SrsRawH264Stream h; string sh;
HELPER_ASSERT_SUCCESS(h.mux_sequence_header("Hello", "world", 0, 0, sh));
EXPECT_EQ(11+5+5, sh.length());
EXPECT_EQ(11+5+5, (int)sh.length());
EXPECT_STREQ("Hello", sh.substr(8, 5).c_str());
EXPECT_STREQ("world", sh.substr(16).c_str());
}