aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/FreeBSD
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/FreeBSD')
-rw-r--r--lib/System/FreeBSD/Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/FreeBSD/Memory.cpp b/lib/System/FreeBSD/Memory.cpp
index 4ab1a5d..4f8dea5 100644
--- a/lib/System/FreeBSD/Memory.cpp
+++ b/lib/System/FreeBSD/Memory.cpp
@@ -43,7 +43,7 @@ MemoryBlock Memory::AllocateRWX(unsigned NumBytes) {
return result;
}
-void Memory::ReleaseRWX(Memory& M) {
+void Memory::ReleaseRWX(MemoryBlock& M) {
if (M.Address == 0 || M.Size == 0) return;
if (0 != munmap(M.Address, M.Size)) {
throw std::string("Can't release RWX Memory: ") + strerror(errno);