summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
Diffstat (limited to 'osdep')
-rw-r--r--osdep/mmap-os2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/mmap-os2.c b/osdep/mmap-os2.c
index 7646296cd9..a1e0c29e3f 100644
--- a/osdep/mmap-os2.c
+++ b/osdep/mmap-os2.c
@@ -84,7 +84,7 @@ void *mmap( void *addr, size_t len, int prot, int flags, int fildes, off_t off )
return MAP_FAILED;
}
- new_mmap = ( os2_mmap * )malloc( sizeof( os2_mmap ));
+ new_mmap = malloc( sizeof( os2_mmap ));
new_mmap->addr = ret;
new_mmap->len = len;
new_mmap->flags = flags;