mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 12:46:06 +00:00
[scudo] Fix type mismatch in trusty. (#69024)
This commit is contained in:
parent
e220398cc3
commit
d9ede91a27
@ -62,7 +62,7 @@ void *map(void *Addr, uptr Size, const char *Name, uptr Flags,
|
||||
void unmap(UNUSED void *Addr, UNUSED uptr Size, UNUSED uptr Flags,
|
||||
UNUSED MapPlatformData *Data) {
|
||||
if (_trusty_munmap(Addr, Size) != 0)
|
||||
reportUnmapError(Addr, Size);
|
||||
reportUnmapError(reinterpret_cast<uptr>(Addr), Size);
|
||||
}
|
||||
|
||||
void setMemoryPermission(UNUSED uptr Addr, UNUSED uptr Size, UNUSED uptr Flags,
|
||||
|
Loading…
x
Reference in New Issue
Block a user