diff options
Diffstat (limited to 'monitor_mm.c')
-rw-r--r-- | monitor_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_mm.c b/monitor_mm.c index ff523a5b1..b0ec37cff 100644 --- a/monitor_mm.c +++ b/monitor_mm.c | |||
@@ -92,7 +92,7 @@ mm_create(struct mm_master *mmalloc, size_t size) | |||
92 | mm->mmalloc = mmalloc; | 92 | mm->mmalloc = mmalloc; |
93 | 93 | ||
94 | address = xmmap(size); | 94 | address = xmmap(size); |
95 | if (address == MAP_FAILED) | 95 | if (address == (void *)MAP_FAILED) |
96 | fatal("mmap(%lu): %s", (u_long)size, strerror(errno)); | 96 | fatal("mmap(%lu): %s", (u_long)size, strerror(errno)); |
97 | 97 | ||
98 | mm->address = address; | 98 | mm->address = address; |