Fix -Wsign-compare warning and remove windows-style line endings introduced by r185421

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie 2013-07-02 16:48:10 +00:00
parent c93bee09ac
commit 5186591cf5

View File

@ -293,11 +293,11 @@ TEST(JITMemoryManagerTest, AllocateSection) {
EXPECT_NE((uint8_t*)0, data2);
// Check alignment
EXPECT_EQ((uint64_t)code1 & 0xf, 0);
EXPECT_EQ((uint64_t)code2 & 0x1f, 0);
EXPECT_EQ((uint64_t)code3 & 0x3f, 0);
EXPECT_EQ((uint64_t)data1 & 0xf, 0);
EXPECT_EQ((uint64_t)data2 & 0x3f, 0);
EXPECT_EQ((uint64_t)code1 & 0xf, 0u);
EXPECT_EQ((uint64_t)code2 & 0x1f, 0u);
EXPECT_EQ((uint64_t)code3 & 0x3f, 0u);
EXPECT_EQ((uint64_t)data1 & 0xf, 0u);
EXPECT_EQ((uint64_t)data2 & 0x3f, 0u);
}
}