summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-15 21:20:13 +0000
committerChris Lattner <sabre@nondot.org>2009-02-15 21:20:13 +0000
commit641f1eab779ee5b52bc9be19652a8e1d65508b3d (patch)
tree72450ecf5291248b1942e01a1eccb46ef3f8eba0 /clang/lib
parent5a2e9cb42ddf050b281eceb5dade42adb669a8c9 (diff)
downloadbcm5719-llvm-641f1eab779ee5b52bc9be19652a8e1d65508b3d.tar.gz
bcm5719-llvm-641f1eab779ee5b52bc9be19652a8e1d65508b3d.zip
fix build on systems where uint64_t != unsigned long long
llvm-svn: 64605
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index f724524f028..9659b94dd01 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -377,7 +377,7 @@ ASTContext::getTypeInfo(const Type *T) {
// FIXME: This isn't precisely correct; the width/alignment should depend
// on the available types for the target
Width = cast<FixedWidthIntType>(T)->getWidth();
- Width = std::max(llvm::NextPowerOf2(Width - 1), 8ULL);
+ Width = std::max(llvm::NextPowerOf2(Width - 1), (uint64_t)8);
Align = Width;
break;
case Type::ASQual:
OpenPOWER on IntegriCloud