projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92db46e
)
Fix arm build fail with clang11 (#53511)
author
Dong-Heon Jung
<clamp03@gmail.com>
Tue, 1 Jun 2021 05:24:37 +0000
(14:24 +0900)
committer
GitHub
<noreply@github.com>
Tue, 1 Jun 2021 05:24:37 +0000
(22:24 -0700)
fix ```error: cast to smaller integer type 'unsigned int' from 'void *'```
src/coreclr/vm/arm/cgencpu.h
patch
|
blob
|
history
diff --git
a/src/coreclr/vm/arm/cgencpu.h
b/src/coreclr/vm/arm/cgencpu.h
index
c68e763
..
4f6e1de
100644
(file)
--- a/
src/coreclr/vm/arm/cgencpu.h
+++ b/
src/coreclr/vm/arm/cgencpu.h
@@
-294,7
+294,7
@@
inline void emitJump(LPBYTE pBuffer, LPVOID target)
// ldr pc, [pc, #0]
pCode[0] = 0xf000f8df;
- pCode[1] = (DWORD)target;
+ pCode[1] = (DWORD)
(size_t)
target;
}
//------------------------------------------------------------------------