Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mono/metadata/file-mmap-posix.c')
-rw-r--r--mono/metadata/file-mmap-posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mono/metadata/file-mmap-posix.c b/mono/metadata/file-mmap-posix.c
index 31adaa54399..02468483001 100644
--- a/mono/metadata/file-mmap-posix.c
+++ b/mono/metadata/file-mmap-posix.c
@@ -555,10 +555,10 @@ mono_mmap_map (void *handle, gint64 offset, gint64 *size, int access, void **mma
}
MonoBoolean
-mono_mmap_unmap (void *mmap_handle, MonoError *error)
+mono_mmap_unmap (void *base_address, MonoError *error)
{
int res = 0;
- MmapInstance *h = (MmapInstance *)mmap_handle;
+ MmapInstance *h = (MmapInstance *)base_address;
MONO_ENTER_GC_SAFE;
res = mono_file_unmap (h->address, h->free_handle);