summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/AlignmentTest.cpp
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2019-07-31 10:00:48 +0000
committerGuillaume Chatelet <gchatelet@google.com>2019-07-31 10:00:48 +0000
commitc87581c4d46e5db3dfd5776d323fa7535e6669e7 (patch)
treebbeade2d1a532ba11434f08480ab10000902d033 /llvm/unittests/Support/AlignmentTest.cpp
parent9e6b2e1605825f852d59034e053a22b712f8fcb9 (diff)
downloadbcm5719-llvm-c87581c4d46e5db3dfd5776d323fa7535e6669e7.tar.gz
bcm5719-llvm-c87581c4d46e5db3dfd5776d323fa7535e6669e7.zip
Fix mismatching vector type in AlignmentTest.cpp
llvm-svn: 367404
Diffstat (limited to 'llvm/unittests/Support/AlignmentTest.cpp')
-rw-r--r--llvm/unittests/Support/AlignmentTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/AlignmentTest.cpp b/llvm/unittests/Support/AlignmentTest.cpp
index 1b88501024a..9ae999200ef 100644
--- a/llvm/unittests/Support/AlignmentTest.cpp
+++ b/llvm/unittests/Support/AlignmentTest.cpp
@@ -188,7 +188,7 @@ TEST(Alignment, isAligned) {
}
TEST(Alignment, AlignComparisons) {
- std::vector<size_t> ValidAlignments = getValidAlignments();
+ std::vector<uint64_t> ValidAlignments = getValidAlignments();
std::sort(ValidAlignments.begin(), ValidAlignments.end());
for (size_t I = 1; I < ValidAlignments.size(); ++I) {
assert(I >= 1);
OpenPOWER on IntegriCloud