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:37:25 +08:00
parent 69e2d94e50
commit 06c1d4d7f9
5 changed files with 78 additions and 77 deletions

View file

@ -1330,7 +1330,7 @@ VOID TEST(ProtocolRTMPTest, HandshakeC0C1)
SrsRtmpServer r(&io);
HELPER_EXPECT_SUCCESS(r.hs_bytes->read_c0c1(&io));
EXPECT_EQ(0x01020304, r.proxy_real_ip());
EXPECT_EQ((uint32_t)0x01020304, (uint32_t)r.proxy_real_ip());
}
// It seems a normal c0c1, but it's extended, so it fail.