Skip to content

Commit

Permalink
Fix arm build fail with clang11 (#53511)
Browse files Browse the repository at this point in the history
fix ```error: cast to smaller integer type 'unsigned int' from 'void *'```
  • Loading branch information
clamp03 authored Jun 1, 2021
1 parent 92db46e commit 9e26468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/vm/arm/cgencpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

//------------------------------------------------------------------------
Expand Down

0 comments on commit 9e26468

Please sign in to comment.