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 11:53:12 +0000
committerGitHub <noreply@github.com>2024-12-12 11:53:12 +0000
commit8e8d6d6d875393dd24be9c53deacc16f2929bd33 (patch)
tree64403448ea5ce8b96b79215ebd3b5c0490ff7d43 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb9f1aedfd82a9430707e103032a14e33af57451f (diff)
parent202098e049bfd0e505ad7f698ed281e58bcdfa58 (diff)
downloadrust-8e8d6d6d875393dd24be9c53deacc16f2929bd33.tar.gz
rust-8e8d6d6d875393dd24be9c53deacc16f2929bd33.zip
Merge pull request #4092 from RalfJung/rustup
Rustup
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();