Skip to content

Commit

Permalink
[tests] Fixed a warning in a bonding test.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko authored Sep 9, 2024
1 parent 6d3fee6 commit cfbcbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_bonding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ TEST(Bonding, InitialFailure)
char outbuf[1316];
SRT_MSGCTRL mc = srt_msgctrl_default;
int recvlen = srt_recvmsg2(gs, outbuf, 1316, &mc);
EXPECT_EQ(recvlen, packet_data.size());
EXPECT_EQ(recvlen, (int) packet_data.size());
outbuf[recvlen] = 0;

EXPECT_EQ(outbuf, packet_data);
Expand Down

0 comments on commit cfbcbd7

Please sign in to comment.