diff options
-rw-r--r-- | lib/System/Cygwin/Memory.cpp | 2 | ||||
-rw-r--r-- | lib/System/FreeBSD/Memory.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Cygwin/Memory.cpp b/lib/System/Cygwin/Memory.cpp index 2392e71..87d29de 100644 --- a/lib/System/Cygwin/Memory.cpp +++ b/lib/System/Cygwin/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); 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); |