about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-12-12 12:24:31 +0100
committerRalf Jung <post@ralfj.de>2024-12-12 12:24:31 +0100
commitf590fa92140b5cc375bd4bc16ca6e930c5bf9e33 (patch)
tree47d0fb5e03dc56be5e33f9b84f668b540b990e31 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentcc797a2b741be734289ba857e99dc72be908d92d (diff)
parenta4ef751e26a90dd3b6b35fdbfef1e4854f9d80e1 (diff)
downloadrust-f590fa92140b5cc375bd4bc16ca6e930c5bf9e33.tar.gz
rust-f590fa92140b5cc375bd4bc16ca6e930c5bf9e33.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index 06550728f0f..b79205ff946 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -1535,7 +1535,7 @@ extern "C" LLVMTypeKind LLVMRustGetTypeKind(LLVMTypeRef Ty) {
 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(SMDiagnostic, LLVMSMDiagnosticRef)
 
 extern "C" LLVMSMDiagnosticRef LLVMRustGetSMDiagnostic(LLVMDiagnosticInfoRef DI,
-                                                       unsigned *Cookie) {
+                                                       uint64_t *Cookie) {
   llvm::DiagnosticInfoSrcMgr *SM =
       static_cast<llvm::DiagnosticInfoSrcMgr *>(unwrap(DI));
   *Cookie = SM->getLocCookie();