diff options
Diffstat (limited to 'toxav/rtp_test.cc')
-rw-r--r-- | toxav/rtp_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/rtp_test.cc b/toxav/rtp_test.cc index b41ff905..b0854142 100644 --- a/toxav/rtp_test.cc +++ b/toxav/rtp_test.cc | |||
@@ -47,7 +47,7 @@ TEST(Rtp, SerialisingAllOnes) { | |||
47 | uint8_t rdata[RTP_HEADER_SIZE]; | 47 | uint8_t rdata[RTP_HEADER_SIZE]; |
48 | rtp_header_pack(rdata, &header); | 48 | rtp_header_pack(rdata, &header); |
49 | 49 | ||
50 | EXPECT_EQ(std::string((char const *)rdata, sizeof rdata), | 50 | EXPECT_EQ(std::string(reinterpret_cast<char const *>(rdata), sizeof rdata), |
51 | std::string("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" | 51 | std::string("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" |
52 | "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" | 52 | "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" |
53 | "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" | 53 | "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" |