[cfe-commits] r172357 - /cfe/trunk/include/clang/Basic/SourceManager.h
Michael J. Spencer
bigcheesegs at gmail.com
Sun Jan 13 08:00:52 PST 2013
Author: mspencer
Date: Sun Jan 13 10:00:51 2013
New Revision: 172357
URL: http://llvm.org/viewvc/llvm-project?rev=172357&view=rev
Log:
Fix LLP64 build.
Modified:
cfe/trunk/include/clang/Basic/SourceManager.h
Modified: cfe/trunk/include/clang/Basic/SourceManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceManager.h?rev=172357&r1=172356&r2=172357&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/SourceManager.h (original)
+++ cfe/trunk/include/clang/Basic/SourceManager.h Sun Jan 13 10:00:51 2013
@@ -271,7 +271,7 @@
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.
More information about the cfe-commits
mailing list