From 7e28e75570b4f08a59121efd973475db98735905 Mon Sep 17 00:00:00 2001 From: Nick Kledzik Date: Tue, 8 Oct 2013 01:12:35 +0000 Subject: [PATCH] fix test case failing on bot llvm-svn: 192152 --- lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp b/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp index 50eafee145e3..59d1e099b9c0 100644 --- a/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp +++ b/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp @@ -217,7 +217,7 @@ TEST(ObjectFileYAML, oneSection) { EXPECT_EQ((uint32_t)(sect.attributes), (uint32_t)(llvm::MachO::S_ATTR_PURE_INSTRUCTIONS)); EXPECT_EQ(sect.alignment, 1U); - EXPECT_EQ(sect.address, 0x12345678ULL); + EXPECT_EQ((uint64_t)sect.address, 0x12345678ULL); EXPECT_EQ(sect.content.size(), 2UL); EXPECT_EQ((int)(sect.content[0]), 0x90); EXPECT_EQ((int)(sect.content[1]), 0x90);