Skip to content

Commit d9ede91

Browse files
authored
[scudo] Fix type mismatch in trusty. (#69024)
1 parent e220398 commit d9ede91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/scudo/standalone/trusty.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void *map(void *Addr, uptr Size, const char *Name, uptr Flags,
6262
void unmap(UNUSED void *Addr, UNUSED uptr Size, UNUSED uptr Flags,
6363
UNUSED MapPlatformData *Data) {
6464
if (_trusty_munmap(Addr, Size) != 0)
65-
reportUnmapError(Addr, Size);
65+
reportUnmapError(reinterpret_cast<uptr>(Addr), Size);
6666
}
6767

6868
void setMemoryPermission(UNUSED uptr Addr, UNUSED uptr Size, UNUSED uptr Flags,

0 commit comments

Comments
 (0)