llvm-wrapper: fix warning C4244
llvm-wrapper/RustWrapper.cpp(1234): warning C4244: '=': conversion from 'uint64_t' to 'unsigned int', possible loss of data nice consistency: uint64_t6009708b43/llvm/include/llvm/IR/DiagnosticInfo.h (L172)
but unsigned6009708b43/llvm/include/llvm/IR/DiagnosticInfo.h (L1091)
This commit is contained in:
parent
bea5bebf3d
commit
205cfcba20
4 changed files with 7 additions and 7 deletions
|
@ -1225,7 +1225,7 @@ enum class LLVMRustDiagnosticLevel {
|
|||
extern "C" void
|
||||
LLVMRustUnpackInlineAsmDiagnostic(LLVMDiagnosticInfoRef DI,
|
||||
LLVMRustDiagnosticLevel *LevelOut,
|
||||
unsigned *CookieOut,
|
||||
uint64_t *CookieOut,
|
||||
LLVMTwineRef *MessageOut) {
|
||||
// Undefined to call this not on an inline assembly diagnostic!
|
||||
llvm::DiagnosticInfoInlineAsm *IA =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue