summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-01-22 19:29:41 +0000
committerAdrian Prantl <aprantl@apple.com>2016-01-22 19:29:41 +0000
commit98bfc82c39dacb76ad9422e84d5a98ccec4d6496 (patch)
tree7c1fa1afef532b26124f89aace55635342f11034 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parent34461a626e4fcc72e2facf7dedf8c84cf13e39d2 (diff)
downloadbcm5719-llvm-98bfc82c39dacb76ad9422e84d5a98ccec4d6496.tar.gz
bcm5719-llvm-98bfc82c39dacb76ad9422e84d5a98ccec4d6496.zip
Fix the build by using the correct suffix for 64 bit literals
llvm-svn: 258531
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r--clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
index f20489275b2..0e3aa61314e 100644
--- a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
+++ b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
@@ -222,7 +222,7 @@ public:
// PCH files don't have a signature field in the control block,
// but LLVM detects DWO CUs by looking for a non-zero DWO id.
- uint64_t Signature = Buffer->Signature ? Buffer->Signature : ~1UL;
+ uint64_t Signature = Buffer->Signature ? Buffer->Signature : ~1ULL;
Builder->getModuleDebugInfo()->setDwoId(Signature);
// Finalize the Builder.
OpenPOWER on IntegriCloud