summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2013-01-13 16:00:51 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2013-01-13 16:00:51 +0000
commit7d1b7c4c38f4196d1cadd0793eadfe144df17e14 (patch)
tree77149b712269ebcd944206a11bbab80a273236ee
parent462462e98dfea4a7ec99d8172db0876b8621d0d4 (diff)
downloadbcm5719-llvm-7d1b7c4c38f4196d1cadd0793eadfe144df17e14.tar.gz
bcm5719-llvm-7d1b7c4c38f4196d1cadd0793eadfe144df17e14.zip
Fix LLP64 build.
llvm-svn: 172357
-rw-r--r--clang/include/clang/Basic/SourceManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/SourceManager.h b/clang/include/clang/Basic/SourceManager.h
index ec8f533dc1b..d9b21ce60d8 100644
--- a/clang/include/clang/Basic/SourceManager.h
+++ b/clang/include/clang/Basic/SourceManager.h
@@ -271,7 +271,7 @@ namespace SrcMgr {
return SourceLocation::getFromRawEncoding(IncludeLoc);
}
const ContentCache* getContentCache() const {
- return reinterpret_cast<const ContentCache*>(Data & ~7UL);
+ return reinterpret_cast<const ContentCache*>(Data & ~uintptr_t(7));
}
/// \brief Return whether this is a system header or not.
OpenPOWER on IntegriCloud