mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
[ORC] Add explicit cast to fix a narrowing conversion error.
This commit is contained in:
parent
b7134015be
commit
9358e00666
@ -378,7 +378,7 @@ TPCIndirectionUtils::getIndirectStubs(unsigned NumStubs) {
|
||||
sys::Memory::MF_WRITE);
|
||||
|
||||
auto Alloc = TPC.getMemMgr().allocate(
|
||||
{{StubPagePermissions, {PageSize, StubBytes, 0}},
|
||||
{{StubPagePermissions, {PageSize, static_cast<size_t>(StubBytes), 0}},
|
||||
{PointerPagePermissions, {PageSize, 0, PointerBytes}}});
|
||||
|
||||
if (!Alloc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user