diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2018-08-27 11:00:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 11:00:01 -0700 |
commit | 38d416dd613ad10ac69e624096615a18214b5e53 (patch) | |
tree | 94a0174bf79ba764b9202f23789eacf81f7c6891 /src/jit/unwindarm.cpp | |
parent | 57cdf454b123a44ef8d5944f4022b9502ce52d8a (diff) | |
download | coreclr-38d416dd613ad10ac69e624096615a18214b5e53.tar.gz coreclr-38d416dd613ad10ac69e624096615a18214b5e53.tar.bz2 coreclr-38d416dd613ad10ac69e624096615a18214b5e53.zip |
Deal with compilation warnings in JIT in cross-bitness scenario (#19590)
* Fix warnings due to "strlen return type is size_t" in src/jit/emitarm.cpp src/jit/unwindarm.cpp
* Use ptrdiff_t disp in emitter::emitOutputInstr in src/jit/emitarm.cpp
* Compiler::gtHashValue should depend on host-bitness in src/jit/gentree.cpp
* Simplify checking using ImmedValNeedsReloc() in src/jit/lowerarmarch.cpp
* Use target_ssize_t immVal in Lowering::IsContainableImmed in src/jit/lowerarmarch.cpp
* Remove int offs and use BYTE* addr and %p specifier in emitter::emitDispInsHelp in IF_T2_J3 case in src/jit/emitarm.cpp
* Cast gtIconVal to target_size_t in CodeGen::genLclHeap in src/jit/codegenarm.cpp
* Use int argSize in CodeGen::genEmitCall in src/jit/codegen.h src/jit/codegenlinear.cpp
* Use ssize_t disp in emitter::emitIns_Call in src/jit/emitarm.cpp src/jit/emitarm.h
* Use int argSize in emitter::emitIns_Call in src/jit/emitarm.cpp src/jit/emitarm.h
* Use target_size_t return type in Compiler::eeGetPageSize Compiler::getVeryLargeFrameSize in src/jit/codegencommon.cpp src/jit/compiler.h
* Cast gtIconVal to unsigned in CodeGen::genCodeForShift CodeGen::genCodeForShiftLong in src/jit/codegenarm.cpp src/jit/codegenarmarch.cpp
* Cast gtIconVal to unsigned in DecomposeLongs::DecomposeRotate in src/jit/decomposelongs.cpp
* Use unsigned size in CodeGen::genConsumePutStructArgStk in src/jit/codegenlinear.cpp
* Use target_ssize_t stmImm in cast in CodeGen::genZeroInitFrame in src/jit/codegencommon.cpp
* Cast to target_ssize_t in Compiler::gtSetEvalOrder in src/jit/gentree.cpp
* Address PR feedbask - use dspPtr(addr) in src/jit/emitarm.cpp
Diffstat (limited to 'src/jit/unwindarm.cpp')
-rw-r--r-- | src/jit/unwindarm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/unwindarm.cpp b/src/jit/unwindarm.cpp index 691d4e1e65..cfd729091b 100644 --- a/src/jit/unwindarm.cpp +++ b/src/jit/unwindarm.cpp @@ -2172,7 +2172,7 @@ DWORD DumpRegSetRange(const char* const rtype, DWORD start, DWORD end, DWORD lr) { assert(start <= end); DWORD printed = 0; - DWORD rtypeLen = strlen(rtype); + DWORD rtypeLen = (DWORD)strlen(rtype); printf("{"); ++printed; |