Skip to content

Commit daab25b

Browse files
committed
Fix comparison of char and int64 in TestWriteFixNegativeInt
It was broken on clang-ppc64le-linux-lnt bot. llvm-svn: 340517
1 parent 6579c81 commit daab25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/BinaryFormat/MsgPackWriterTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ TEST_F(MsgPackWriter, TestWriteFixNegativeInt) {
129129
MPWriter.write(i);
130130
std::string Output = OStream.str();
131131
EXPECT_EQ(Output.size(), 1u);
132-
EXPECT_EQ(Output.data()[0], static_cast<int8_t>(i));
132+
EXPECT_EQ(static_cast<int8_t>(Output.data()[0]), static_cast<int8_t>(i));
133133
}
134134
}
135135

0 commit comments

Comments
 (0)