From: Michael J. Spencer Date: Sun, 13 Jan 2013 16:00:51 +0000 (+0000) Subject: Fix LLP64 build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5bec298d96f7eb5309df5aab9d19eb7f8b75a81;p=clang Fix LLP64 build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172357 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index ec8f533dc1..d9b21ce60d 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h @@ -271,7 +271,7 @@ namespace SrcMgr { return SourceLocation::getFromRawEncoding(IncludeLoc); } const ContentCache* getContentCache() const { - return reinterpret_cast(Data & ~7UL); + return reinterpret_cast(Data & ~uintptr_t(7)); } /// \brief Return whether this is a system header or not.