diff options
| author | Ralf Jung <post@ralfj.de> | 2024-12-12 11:53:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-12 11:53:12 +0000 |
| commit | 8e8d6d6d875393dd24be9c53deacc16f2929bd33 (patch) | |
| tree | 64403448ea5ce8b96b79215ebd3b5c0490ff7d43 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b9f1aedfd82a9430707e103032a14e33af57451f (diff) | |
| parent | 202098e049bfd0e505ad7f698ed281e58bcdfa58 (diff) | |
| download | rust-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.cpp | 2 |
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(); |
