commit | dbc2296e2c4af222f079cb400d75797b566caab6 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Wed Oct 06 23:15:44 2004 +1000 |
committer | Darren Tucker <dtucker@zip.com.au> | Wed Oct 06 23:15:44 2004 +1000 |
tree | efc86d2a90bd591d930034b365a9abd4620469a0 | |
parent | b7d55e3eb564246a853039fd7d2940b79eb0068d [diff] [blame] |
- (dtucker) [monitor_mm.c openbsd-compat/xmmap.c] Bug #940: cast constants to void * to appease picky compilers (eg Tru64's "cc -std1").
diff --git a/monitor_mm.c b/monitor_mm.c index ff523a5..b0ec37c 100644 --- a/monitor_mm.c +++ b/monitor_mm.c
@@ -92,7 +92,7 @@ mm->mmalloc = mmalloc; address = xmmap(size); - if (address == MAP_FAILED) + if (address == (void *)MAP_FAILED) fatal("mmap(%lu): %s", (u_long)size, strerror(errno)); mm->address = address;