From 98bfc82c39dacb76ad9422e84d5a98ccec4d6496 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 22 Jan 2016 19:29:41 +0000 Subject: Fix the build by using the correct suffix for 64 bit literals llvm-svn: 258531 --- clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp') 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. -- cgit v1.2.3