Commit c406e1d8 authored by Francis Dupont's avatar Francis Dupont

[master] Swapped memcmp arguments to make clang happy

parent 5a55a808
......@@ -279,7 +279,7 @@ TEST_F(PerfPkt6Test, PackTransactionId) {
ASSERT_LE(offset_transid[0], out_buf.getLength());
// Validate transaction id.
EXPECT_EQ(0, memcmp(out_buf_data + offset_transid[0], ref_data, 3));
EXPECT_EQ(0, memcmp(ref_data, out_buf_data + offset_transid[0], 3));
// Out of bounds transaction id offset.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment